Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
passwd segfaults
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
nyles
n00b
n00b


Joined: 25 Jun 2003
Posts: 3

PostPosted: Wed Jun 25, 2003 8:11 am    Post subject: passwd segfaults Reply with quote

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
View user's profile Send private message
enrique
Guru
Guru


Joined: 03 Sep 2002
Posts: 342
Location: Denmark

PostPosted: Sun Aug 03, 2003 3:41 pm    Post subject: Reply with quote

I'm having the same problem! I have also reemerges shadow, cracklib and pam!
_________________
Kind regards, enrique
Workstation,HTPC,Powerbook
Back to top
View user's profile Send private message
the_bard
n00b
n00b


Joined: 03 Dec 2002
Posts: 60
Location: Albany, NY

PostPosted: Mon Aug 18, 2003 3:41 am    Post subject: Reply with quote

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
View user's profile Send private message
enrique
Guru
Guru


Joined: 03 Sep 2002
Posts: 342
Location: Denmark

PostPosted: Mon Aug 18, 2003 7:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum