[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

passwd + libcrack problem



Hi,
I just building a new server from woody (all components are only from
woody), I installed libpam-cracklib on my system. when i now edit
/etc/pam.d/passwd and /etc/pam.d/passwd as instructed therein:

  comment out this line:
    password   required   pam_unix.so nullok obscure min=4 max=8 md5

  uncomment these two:
    password required       pam_cracklib.so retry=3 minlen=6 difok=3
    password required       pam_unix.so use_authtok nullok md5

and then attempt to run passwd, i get a fatal error:

cloud:/etc/pam.d# passwd mark
passwd: Critical error - immediate abort

I've ran strace on passwd and it reports some missing files,
but on my desktop running a mixture of woody base, with testing/unstable XFree86 and Gnome-2.2.2
and libpam-cracklib and pam from unstable, doing the same works great,
yet both generally report the same missing files whilst running strace..

The only difference is on my woody server it tries to find: 

stat64("/var/cache/cracklib/cracklib_dict.pwd", 0xbfff96dc) = -1 ENOENT (No such file or directory)
write(2, "passwd: Critical error - immedia"..., 41) = 41

Can any one help me on this one, as its now driving me mad.


P.S I have ample hdd space, and /etc/passed and /etc/shadow are both -rw-r--r--
and running: 

lsattr /etc/passwd
-------------- /etc/passwd

reports fine.
I can post my strace output if required.

Thanks

Mark







Reply to: