summaryrefslogtreecommitdiffstats
path: root/lib/libpam/modules/pam_unix/pam_unix.c
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2001-10-25 15:51:50 +0000
committersobomax <sobomax@FreeBSD.org>2001-10-25 15:51:50 +0000
commit064436f6e85481f30c8cd640a55acf3e7b8fe680 (patch)
treef17ab81afe7f6cc1c2e6b921827510caf41d9119 /lib/libpam/modules/pam_unix/pam_unix.c
parente0bbafeb1739fb127be72d11542fdd30adcde925 (diff)
downloadFreeBSD-src-064436f6e85481f30c8cd640a55acf3e7b8fe680.zip
FreeBSD-src-064436f6e85481f30c8cd640a55acf3e7b8fe680.tar.gz
Don't put an extra space after password prompts, because it violates POLA,
makes FreeBSD inconsistent with previous releases and "other unices" as well as with some internal password-asking services (e.g. ftp) within the same release.
Diffstat (limited to 'lib/libpam/modules/pam_unix/pam_unix.c')
-rw-r--r--lib/libpam/modules/pam_unix/pam_unix.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c
index 546cec6..af6f989 100644
--- a/lib/libpam/modules/pam_unix/pam_unix.c
+++ b/lib/libpam/modules/pam_unix/pam_unix.c
@@ -60,10 +60,10 @@ __FBSDID("$FreeBSD$");
#include "pam_mod_misc.h"
#define USER_PROMPT "Username: "
-#define PASSWORD_PROMPT "Password: "
-#define PASSWORD_PROMPT_EXPIRED "\nPassword expired\nOld Password: "
-#define NEW_PASSWORD_PROMPT_1 "New Password: "
-#define NEW_PASSWORD_PROMPT_2 "New Password (again): "
+#define PASSWORD_PROMPT "Password:"
+#define PASSWORD_PROMPT_EXPIRED "\nPassword expired\nOld Password:"
+#define NEW_PASSWORD_PROMPT_1 "New Password:"
+#define NEW_PASSWORD_PROMPT_2 "New Password (again):"
#define PASSWORD_HASH "md5"
#define DEFAULT_WARN (2L * 7L * 86400L) /* Two weeks */
#define MAX_TRIES 3
OpenPOWER on IntegriCloud