OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
PAM list: stacking pam_unix's chauthtok() function

stacking pam_unix's chauthtok() function


Subject: stacking pam_unix's chauthtok() function
From: Nalin Dahyabhai (nalinredhat.com)
Date: Fri Jan 14 2000 - 17:50:29 CST


I've been experimenting with stacking modules in /etc/pam.d/passwd, and
have noticed that pam_unix always asks me for a password, even if my test
user account is neither in NIS nor in /etc/passwd. This looks to be
caused by pam_unix's assumption that a successful getpwnam() means that
it's able to change the user's password.

At the moment I'm testing a patch to pam_unix that looks specifically in
the NIS map and in /etc/passwd at the top of pam_sm_chauthtok() and returns
PAM_USER_UNKNOWN if the user is in neither of those.

Should this be changed in pam_unix, or would it become a security problem?

Thanks,

Nalin

-- 
To unsubscribe: mail -s unsubscribe pam-list-requestredhat.com < /dev/null



This archive was generated by hypermail 2b27 : Fri Jan 14 2000 - 17:51:05 CST