From Bugzilla Helper: User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.0 (like Gecko) Description of problem: I've tried a line like this: password requisite pam_succeed_if.so uid < 500 in pam.d/system-auth, but fails with this error message (from messages log): passwd: PAM adding faulty module: /lib/security/pam_succed_if.so passwd: PAM unable to resolve symbol: pam_sm_chauthtok Version-Release number of selected component (if applicable): pam-0.79-9.6 How reproducible: Always Steps to Reproduce: 1.add this config line: password requisite pam_succeed_if.so uid < 500 in /etc/pam.d/system-auth 2. try to change your password with passwd 3. the operation fails, and you can read the error message in the syslog Actual Results: passwd: PAM adding faulty module: /lib/security/pam_succed_if.so passwd: PAM unable to resolve symbol: pam_sm_chauthtok Expected Results: Password change success if uid <500, failure otherwise. Additional info:
/lib/security/pam_succed_if.so ^ typo? What 'rpm -V pam' prints?
pam_succeed_if.so doesn't support passwd phase. That's a missing feature, not a bug, sorry.
(In reply to comment #2) > pam_succeed_if.so doesn't support passwd phase. That's a missing feature, not a > bug, sorry. Sorry, i didn't read the docs accurately. It's clearly reported in /usr/share/doc/pam-0.79/txts/README.pam_succeed_if : MODULE SERVICES PROVIDED: authentication, account management BTW, i've closed this bug report.