I have installed qmail 1.03 on a new RH6.0 intel machine
and have had difficulties getting the checkpassword-0.81
package to work, using its own test script:

/var/qmail/bin/qmail-popup robin /bin/checkpassword pwd

It fails with:

        -ERR authorization failed

with _both_ the vanilla checkpassword-0.81 _and_ the one
patched with the PAMifed diffs from the WWW page:

        patch < pam-checkpassword-0.81-diffs

The system _is_ using shadow passwords:

# cat /etc/pam.d/passwd
#%PAM-1.0
auth       required     /lib/security/pam_pwdb.so shadow nullok
account    required     /lib/security/pam_pwdb.so
password   required     /lib/security/pam_cracklib.so retry=3
password   required     /lib/security/pam_pwdb.so use_authtok nullok
shadow
#

I suppose the easiest fix would be to move away from the shadow
passwords.

-- 
Quist Consulting                Email: [EMAIL PROTECTED]
219 Donlea Drive                Voice: +1.416.696.7600
Toronto ON  M4G 2N1             Fax:   +1.416.978.6620
CANADA                          WWW:   http://www.quist.on.ca

Reply via email to