Robo Trebula wrote:
>>Unpacking this tarball to my system does not let me reproduce the bug.
>>
>>Can you try to get a backtrace of this bug by running 'gdb passwd' as root,
>>typing 'run test' to change the password of user 'test', and then sending
>>the output of 'bt' when it crashes?
> 
> 
> New interesting observations - the crash did not occur today (after I
> booted the workstation in the morning).
> 
> So I suspected that it somehow only crashes after the installation of
> the packages. So I purged libpam-cracklib, cracklib-runtime, cracklib2
> and installed them again.
> 
> And the crash is back. Here is the stack trace:
> 
> 
> I've checked what could have happend upon shutdown/boot with cracklib
> and I've found out that there is a cronjob - /etc/cron.daily/cracklib
> but running it manually does not make the problem go away.
> 

Duh!

zero:~# passwd test
New UNIX password:
(index fread failed): Úspech
Chyba segmentácie
zero:~# ldconfig
zero:~# passwd test
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: password updated successfully
zero:~#

ldconfig is the key!

R.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to