passwd + libcrack problem

2003-07-21 Thread Mark C
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






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



passwd + libcrack problem

2002-09-03 Thread martin f krafft

i installed libpam-cracklib on my system. when i now edit
/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 madduck
passwd: Critical error - immediate abort

what's up??? it works on other systems...

-- 
martin;  (greetings from the heart of the sun.)
  \ echo mailto: !#^."<*>"|tr "<*> mailto:"; net@madduck
 
"the mind of the thoroughly well-informed man is a dreadful thing.
 it is like a bric-à-brac shop, all monsters and dust,
 with everything priced above its proper value."
-- oscar wilde



msg00587/pgp0.pgp
Description: PGP signature