Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pam problems
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
BioSLuDge
Tux's lil' helper
Tux's lil' helper


Joined: 12 Jul 2004
Posts: 99
Location: Utah

PostPosted: Sun Sep 18, 2005 7:21 pm    Post subject: Pam problems Reply with quote

I can't su from a user thats is in the wheel group to root. I also can't log into root from the console. At first I figured someone hacked me and changed the password but I couldn't see how that had happend. So I put in my 2005.1 and mounted the files systems and proc then chrooted. Now when I try to run passwd as root the computer will just simply hang and not do anything. Secondly when I try to su to any user I get

Code:

livecd / # su andrew
Segmentation fault


So I tried to emerge pam and shadow and this is what happens

Code:

livecd / # emerge pam shadow
Calculating dependencies ...done!
>>> emerge (1 of 2) sys-libs/pam-0.78-r2 to /
>>> md5 files   ;-) pam-0.77-r6.ebuild
>>> md5 files   ;-) pam-0.77-r8.ebuild
>>> md5 files   ;-) pam-0.78-r2.ebuild
>>> md5 files   ;-) files/pam_env.conf
>>> md5 files   ;-) files/digest-pam-0.77-r6
>>> md5 files   ;-) files/digest-pam-0.77-r8
>>> md5 files   ;-) files/digest-pam-0.78-r2
>>> md5 files   ;-) files/README.pam_console
>>> md5 files   ;-) files/pam-0.77-console-reset.patch
>>> md5 files   ;-) files/pam.d/other
>>> md5 files   ;-) files/pam.d/system-auth
>>> md5 src_uri ;-) Linux-PAM-0.78.tar.gz
>>> md5 src_uri ;-) pam-0.78-patches-1.2.tar.bz2
>>> md5 src_uri ;-) db-4.3.27.tar.gz
>>> Unpacking source...
>>> Unpacking Linux-PAM-0.78.tar.gz to /var/tmp/portage/pam-0.78-r2/work


and it just hangs, I can leave it there for hours and nothing happens.

Thanks for your help
-BioSLuDge
Back to top
View user's profile Send private message
remi2402
Retired Dev
Retired Dev


Joined: 28 Jun 2003
Posts: 111
Location: Paris, France

PostPosted: Sun Sep 18, 2005 10:23 pm    Post subject: Reply with quote

try "which su -a". On a sane system, it should be /bin/su. Check if it still has its setuid bit.

Maybe your harddrive is busted. Check the usuals, memtest, livecds, ...

Rémi
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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