From bc3a4bf55dc2754aed965bd6e039494766f40ba3 Mon Sep 17 00:00:00 2001 From: Maxim Sobolev Date: Thu, 25 Oct 2001 15:51:50 +0000 Subject: 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. --- lib/libpam/modules/pam_unix/pam_unix.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libpam/modules/pam_unix/pam_unix.c') diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c index 546cec687d3e..af6f989fb48c 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 -- cgit v1.2.3