summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:17:00 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:17:00 +0000
commit97247a543dd6939000a57c517eaf241b00d50e55 (patch)
tree7e013d1b0dc4e03a1c8ece1cc84bd079ad21435a
parentRemoving setuid bit from /bin/su. (diff)
downloadutil-linux-97247a543dd6939000a57c517eaf241b00d50e55.tar.xz
util-linux-97247a543dd6939000a57c517eaf241b00d50e55.zip
Merging 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 467522b..b2a147e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -10,3 +10,4 @@ upstream/CVE-2021-37600-sys-utils-ipcutils-be-careful-when-call-calloc.patch
debian/backport-ul_strtou64-function.patch
upstream/libmount-fix-UID-check-for-FUSE-umount-CVE-2021-3995.patch
upstream/libmount-fix-deleted-suffix-issue-CVE-2021-3996.patch
+progress-linux/0001-agetty-prompt.patch