diff options
author | Tomas Mraz <tmraz@fedoraproject.org> | 2016-04-04 14:23:22 +0200 |
---|---|---|
committer | Tomas Mraz <tmraz@fedoraproject.org> | 2016-04-04 14:23:22 +0200 |
commit | a1765a0bc62fff8c22091c661aafa10167ec7da8 (patch) | |
tree | fb436c900a69857d54b2c55eea675f4e340fcf1f /modules/pam_unix/pam_unix_acct.c | |
parent | 835d64947996b7cc96fe187f9b3103db36dddf77 (diff) | |
download | pam-a1765a0bc62fff8c22091c661aafa10167ec7da8.tar.gz pam-a1765a0bc62fff8c22091c661aafa10167ec7da8.tar.bz2 pam-a1765a0bc62fff8c22091c661aafa10167ec7da8.zip |
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.
Diffstat (limited to 'modules/pam_unix/pam_unix_acct.c')
-rw-r--r-- | 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 17a0890f..782d84ac 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: |