[Exherbo-dev] option pam and chpasswd

Vasiliy G Tolstov v.tolstov at selfip.ru
Wed Jan 5 23:41:24 GMT 2011


Hello. I'm investigate, that /etc/pam.d/chpasswd contains incorrect
options for pam. And chpasswd with default setting not working (echo
root:pass | chpasswd does nothing).

Incorrect:
#%PAM-1.0

auth       sufficient   pam_rootok.so
auth       required             pam_permit.so

account    include              system-auth

password   required             pam_permit.so



Correct:
#%PAM-1.0

auth       sufficient   pam_rootok.so
auth       include      system-auth

account    include      system-auth

password   include      system-auth

As You can see - pam_permit.so incorrect. In bugs.gentoo.org this
problem somewhere appeared...




More information about the Exherbo-dev mailing list