Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
I can't login with the console
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
Devrethman
Tux's lil' helper
Tux's lil' helper


Joined: 29 Jan 2005
Posts: 141
Location: Phoenix, AZ

PostPosted: Sun Apr 09, 2006 1:33 am    Post subject: I can't login with the console Reply with quote

Yesterday my computer decided that KDE was going to stop working (due to a bazillion broken reverse deps of libexpat.so.0 or something). This in itself is a relatively normal thing, I manage to kill X about once a month, but when I exited X (entrance DM) and tried to logon with the console, it won't let me. It gives me the login prompt, I type my username, hit enter, and it waits for about 10 seconds and displays the login prompt again, the password prompt never comes up. I tried this with root and with my normal username, both do the same thing. I have no idea when this started, as I haven't used the since the last time I broke X (about january-ish) or so (I usually use xterms, which worked fine). I remember this happening with the normal console once about a month ago, but I had working X and such, so I did etc-update, and promptly forgot about it. This is really irritating, because I am basically locked out of my computer, I can't use twm or any other WM because none of the ones I have work, I can't install any more, and I can't get into my computer.

Any help greatly appreciated.
_________________
Signature is out for lunch. Feel free to talk to its empty desk.
Back to top
View user's profile Send private message
yabbadabbadont
Advocate
Advocate


Joined: 14 Mar 2003
Posts: 4791
Location: 2 exits past crazy

PostPosted: Sun Apr 09, 2006 1:36 am    Post subject: Reply with quote

When you are in the grub menu, take the option to edit the kernel line and add the word 'single' to it, then boot. This should put you into single user mode. You might be able to figure out what's going on from there.
_________________
Bones McCracker wrote:
On the other hand, regex is popular with the ladies.
Back to top
View user's profile Send private message
RaZoR1394
Guru
Guru


Joined: 09 Jan 2005
Posts: 356

PostPosted: Sun Apr 09, 2006 11:22 am    Post subject: Reply with quote

I'm having the same problem, but mine surfaced when I removed switched to new hardrives and restored from a stage4 backup. I messed it up even more by updating the system. Now I can't even ssh to the box. The only way is to boot with a livecd. It looks like I'm having to reinstall but I'll keep experimenting. I will try the single user trick too.
_________________
http://en.wikipedia.org/wiki/Cell_(microprocessor)
Back to top
View user's profile Send private message
digitalamish
n00b
n00b


Joined: 11 Apr 2003
Posts: 43

PostPosted: Tue Apr 11, 2006 3:22 am    Post subject: Reply with quote

*bump*

I'm having the same problem. My console just keeps bouncing me back to the login prompt, for all users. I noticed that telnet never gives me the password prompt either. What's weird is that the user ID's are all still there. I can authenticate via IMAP to check my mail just fine, and if I go in in single mode, I can use the root password.

If I boot up in single user mode I can see in the auth.log errors pointing out there is no /bin/login (which there isn't). I'm sure there is a config file that needs updating, but I have like 180+. Can anyone point me towards where this might be coming from? The errors in auth.log look like:
Code:
agetty[10265]: tty1: can't exec /bin/login: No such file or directory


Anyone?

[Edit - Update]

OK, I think I figured it out. Somewhere during one of my recent 'emerge' sessions, I trashed /bin/login. I poked around and found that it can be found in pam-login. Luckily I had that package on my machine, so I applied it, and it appears to be working again. Of course I messed up something in my ethernet config trying to fix this, so I can't get into the box remotely yet, but console is working again.
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