diff options
author | Tomas Mraz <tm@t8m.info> | 2007-02-21 20:27:28 +0000 |
---|---|---|
committer | Tomas Mraz <tm@t8m.info> | 2007-02-21 20:27:28 +0000 |
commit | f622e6f5ff8cfafad8383d4bc17044ceb38c7d86 (patch) | |
tree | 9d81faabd057d003ffac1de232742689a3901715 /modules/pam_unix/pam_unix_passwd.c | |
parent | 26c8b7e15a293e0891617c75ba6cdd2d8dabca8d (diff) | |
download | pam-f622e6f5ff8cfafad8383d4bc17044ceb38c7d86.tar.gz pam-f622e6f5ff8cfafad8383d4bc17044ceb38c7d86.tar.bz2 pam-f622e6f5ff8cfafad8383d4bc17044ceb38c7d86.zip |
Relevant BUGIDs:
Purpose of commit: cleanup
Commit summary:
---------------
2007-02-21 Tomas Mraz <t8m@centrum.cz>
* modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Test for
allocation failure in bigcrypt().
* modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Allow modification
of '*' password by root.
Diffstat (limited to 'modules/pam_unix/pam_unix_passwd.c')
-rw-r--r-- | modules/pam_unix/pam_unix_passwd.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/modules/pam_unix/pam_unix_passwd.c b/modules/pam_unix/pam_unix_passwd.c index 8921d1cc..bec856f4 100644 --- a/modules/pam_unix/pam_unix_passwd.c +++ b/modules/pam_unix/pam_unix_passwd.c @@ -1077,13 +1077,6 @@ PAM_EXTERN int pam_sm_chauthtok(pam_handle_t * pamh, int flags, user); return PAM_USER_UNKNOWN; } - if (!_unix_shadowed(pwd) && - (strchr(pwd->pw_passwd, '*') != NULL)) { - pam_syslog(pamh, LOG_DEBUG, - "user \"%s\" does not have modifiable password", - user); - return PAM_USER_UNKNOWN; - } } /* |