Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
can't login [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Sat Apr 21, 2012 1:50 am    Post subject: can't login [SOLVED] Reply with quote

I upgraded something that broke my login.
When I try to login, it doesn't ask for a password and prints the userid prompt 3 times.
I used a livecd and chrooted to my installin the hope that it would display an error when I su - to a userid.
I think the problem is related to with pam not being able to load a library.
How do I see which library is causing the problem?
_________________
AMD FX6100 CPU, 16 GiB RAM, OCZ Vertex 3 SSD
ASRock 970 Extreme3 motherboard with S/PDIF audio
Galaxy-NVidia GeForce 8800GT video card, Cyber Power CP550HG USB UPS


Last edited by bjlockie on Sat Apr 21, 2012 3:08 am; edited 1 time in total
Back to top
View user's profile Send private message
PM17E5
Apprentice
Apprentice


Joined: 10 Feb 2009
Posts: 232

PostPosted: Sat Apr 21, 2012 2:26 am    Post subject: Reply with quote

I have the same exact problem. This must be something recent because everything was working up until I did a -uD world after syncing. I tried running revdep-rebuild without any results. Anyone have any ideas? It kind of sucks to have to use Mint Linux from a USB drive until I get this fixed...

I checked /var/log/pwdfail and this is what I have:

Code:
Apr 20 18:09:24 [login] FAILED LOGIN (1) on '/dev/tty2' FOR 'user123', Authentication failure
Apr 20 18:09:26 [login] FAILED LOGIN (2) on '/dev/tty2' FOR 'UNKNOWN', Authentication failure
Apr 20 18:09:29 [login] FAILED LOGIN (3) on '/dev/tty2' FOR 'UNKNOWN', Authentication failure
Apr 20 18:09:31 [login] FAILED LOGIN (4) on '/dev/tty2' FOR 'UNKNOWN', Authentication failure
Apr 20 18:09:34 [login] FAILED LOGIN (5) on '/dev/tty2' FOR 'UNKNOWN', Authentication failure


It never even gave me the password prompt.


Last edited by PM17E5 on Sat Apr 21, 2012 2:29 am; edited 1 time in total
Back to top
View user's profile Send private message
the.root
Apprentice
Apprentice


Joined: 29 Apr 2007
Posts: 208
Location: -84.706059324915, -62.4843750666430

PostPosted: Sat Apr 21, 2012 2:28 am    Post subject: Reply with quote

Did you run an `etc-update` and update the files in /etc/pam.d ?
_________________
Ps = (1.5 x 6 x .75) / {(4/3) (pi) [(31.039 x 10^15) (46.5 x 10^9)]^3}
Seems like a waste..
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1641

PostPosted: Sat Apr 21, 2012 2:29 am    Post subject: Reply with quote

Logged out of root an got hit with this. etc-update did fix it.

bug 412721
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
PM17E5
Apprentice
Apprentice


Joined: 10 Feb 2009
Posts: 232

PostPosted: Sat Apr 21, 2012 2:31 am    Post subject: Reply with quote

Aha, I feel foolish having missed that! Hopefully that will solve it after I reboot and try it, but you're right I just noticed I have the following:

Code:
Scanning Configuration files...
The following is the list of files which need updating, each
configuration file is followed by a list of possible replacement files.
1) /etc/pam.d/login (1)
2) /etc/pam.d/passwd (1)
3) /etc/pam.d/su (1)
Back to top
View user's profile Send private message
Etal
Veteran
Veteran


Joined: 15 Jul 2005
Posts: 1641

PostPosted: Sat Apr 21, 2012 2:35 am    Post subject: Reply with quote

If you reboot, be sure you have a liveCD ready, because without updating your configs, your PAM is borked you won't be able to login :(
_________________
“And even in authoritarian countries, information networks are helping people discover new facts and making governments more accountable.”– Hillary Clinton, Jan. 21, 2010
Back to top
View user's profile Send private message
PM17E5
Apprentice
Apprentice


Joined: 10 Feb 2009
Posts: 232

PostPosted: Sat Apr 21, 2012 2:39 am    Post subject: Reply with quote

Etal wrote:
If you reboot, be sure you have a liveCD ready, because without updating your configs, your PAM is borked you won't be able to login :(


Or a usb stick with Mint or whatever on it, made with unetobotin ;). I kind of dig this distro as far as being able to use everything on my system, sound, X, and everything works rather well for 0 configuration. Really made browsing the forums a little more of a pleasurable experience rather than doing it in console with links :P.

Edit:
Rebooted, works perfectly after etc-update as well.
Back to top
View user's profile Send private message
bjlockie
Veteran
Veteran


Joined: 18 Oct 2002
Posts: 1186
Location: Canada

PostPosted: Sat Apr 21, 2012 3:07 am    Post subject: Reply with quote

Etal wrote:
If you reboot, be sure you have a liveCD ready, because without updating your configs, your PAM is borked you won't be able to login :(


I found out the hard way.
I always forget to update my config files right away. :-(
_________________
AMD FX6100 CPU, 16 GiB RAM, OCZ Vertex 3 SSD
ASRock 970 Extreme3 motherboard with S/PDIF audio
Galaxy-NVidia GeForce 8800GT video card, Cyber Power CP550HG USB UPS
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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