View previous topic :: View next topic |
Author |
Message |
nyles n00b
Joined: 25 Jun 2003 Posts: 3
|
Posted: Wed Jun 25, 2003 8:11 am Post subject: passwd segfaults |
|
|
When I try to change passwd for a regular user the folowing happens:
Changing password for xxxxxx
(current) UNIX password:
New UNIX password:
(index fread failed): Operation not permitted
Segmentation fault
I think this backtrace suggests it has something to do with cracklib:
(gdb) backtrace
#0 0x400e03fa in strcmp () from /lib/libc.so.6
#1 0x4005ed81 in FindPW () from /usr/lib/libcrack.so.2
#2 0x4005e29f in FascistLook () from /usr/lib/libcrack.so.2
#3 0x4005e42e in FascistCheck () from /usr/lib/libcrack.so.2
#4 0x4040a112 in pam_sm_chauthtok () from /lib/security/pam_cracklib.so
#5 0x40053d06 in _pam_dispatch_aux () from /lib/libpam.so.0
#6 0x400539e1 in _pam_dispatch () from /lib/libpam.so.0
#7 0x400163b5 in pam_sm_chauthtok () from /lib/security/pam_stack.so
#8 0x40015dbe in pam_sm_chauthtok () from /lib/security/pam_stack.so
#9 0x40053d06 in _pam_dispatch_aux () from /lib/libpam.so.0
#10 0x400539e1 in _pam_dispatch () from /lib/libpam.so.0
#11 0x400558e2 in pam_chauthtok () from /lib/libpam.so.0
#12 0x0804b0e6 in strcpy ()
#13 0x0804a055 in strcpy ()
#14 0x4007cdc4 in __libc_start_main () from /lib/libc.so.6
I can change password for root.
I have rebuild pam, cracklib and shadow in several versions and nothing seems to work. Any suggestions? |
|
Back to top |
|
|
enrique Guru
Joined: 03 Sep 2002 Posts: 342 Location: Denmark
|
Posted: Sun Aug 03, 2003 3:41 pm Post subject: |
|
|
I'm having the same problem! I have also reemerges shadow, cracklib and pam! _________________ Kind regards, enrique
Workstation,HTPC,Powerbook |
|
Back to top |
|
|
the_bard n00b
Joined: 03 Dec 2002 Posts: 60 Location: Albany, NY
|
Posted: Mon Aug 18, 2003 3:41 am Post subject: |
|
|
I almost have the same problem here... only I can't change the password for root, either.
This is on a fresh install of Gentoo, too... using 1.4rc3. I did deviate slightly from the install directions on the LiveCD... I forgot to change the root password from the default after I had emerged the system. I simply booted off the LiveCD, and erased the root password in /etc/shadow. |
|
Back to top |
|
|
enrique Guru
Joined: 03 Sep 2002 Posts: 342 Location: Denmark
|
Posted: Mon Aug 18, 2003 7:08 am Post subject: |
|
|
Yeah, I ended up doing the same thing, boot of the live cd, deleted shadow and passwd, chroot and then emerged a new baselayout. _________________ Kind regards, enrique
Workstation,HTPC,Powerbook |
|
Back to top |
|
|
|