summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:31:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:31:20 +0000
commite1693401c86b11fe223c5c4fae95eafee4f8a68b (patch)
tree2ac2e241048bd773a13dbc0d0bcb1fb02aaa0d9d
parentRemoving setuid bit from /bin/su. (diff)
downloadutil-linux-e1693401c86b11fe223c5c4fae95eafee4f8a68b.tar.xz
util-linux-e1693401c86b11fe223c5c4fae95eafee4f8a68b.zip
Updating agetty login prompt.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/patches/progress-linux/0001-agetty-prompt.patch15
-rw-r--r--debian/patches/series1
2 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-agetty-prompt.patch b/debian/patches/progress-linux/0001-agetty-prompt.patch
new file mode 100644
index 0000000..4bb1a89
--- /dev/null
+++ b/debian/patches/progress-linux/0001-agetty-prompt.patch
@@ -0,0 +1,15 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Setting agetty login prompt to 'Login: '.
+
+diff -Naurp util-linux.orig/term-utils/agetty.c util-linux/term-utils/agetty.c
+--- util-linux.orig/term-utils/agetty.c
++++ util-linux/term-utils/agetty.c
+@@ -139,7 +139,7 @@
+ #endif
+
+ /* Login prompt. */
+-#define LOGIN "login: "
++#define LOGIN "Login: "
+ #define LOGIN_ARGV_MAX 16 /* Numbers of args for login */
+
+ /*
diff --git a/debian/patches/series b/debian/patches/series
index 2ef0c34..5257c5f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -35,3 +35,4 @@ upstream/PATCH-1-2-lib-pty-Put-master-PTY-into-non-blocking-mode-a.patch
upstream/PATCH-2-2-lib-pty-minor-cleanups.patch
upstream/PATCH-script-abort-if-unused-arguments-are-given.patch
upstream/logger-always-update-header-when-read-from-stdin.patch
+progress-linux/0001-agetty-prompt.patch