commit a1765a0bc62fff8c22091c661aafa10167ec7da8
Author: Tomas Mraz <tmraz(a)fedoraproject.org>
Date: Mon Apr 4 14:23:22 2016 +0200
pam_unix: Make password expiration messages more user-friendly.
* modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Make password
expiration messages more user-friendly.
modules/pam_unix/pam_unix_acct.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/modules/pam_unix/pam_unix_acct.c b/modules/pam_unix/pam_unix_acct.c
index 17a0890..782d84a 100644
--- a/modules/pam_unix/pam_unix_acct.c
+++ b/modules/pam_unix/pam_unix_acct.c
@@ -258,13 +258,13 @@ pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char
**argv)
"expired password for user %s (root enforced)",
uname);
_make_remark(pamh, ctrl, PAM_ERROR_MSG,
- _("You are required to change your password immediately (root
enforced)"));
+ _("You are required to change your password immediately (administrator
enforced)"));
} else {
pam_syslog(pamh, LOG_DEBUG,
"expired password for user %s (password aged)",
uname);
_make_remark(pamh, ctrl, PAM_ERROR_MSG,
- _("You are required to change your password immediately (password
aged)"));
+ _("You are required to change your password immediately (password
expired)"));
}
break;
case PAM_AUTHTOK_EXPIRED:
Show replies by date