Click to See Complete Forum and Search --> : Can't login...


VRay
06-25-2001, 08:53 PM
I added a couple of woody url's to my sources.list, did apt-get upgrade and update. Now after rebooting, I try logon as root, or user name and I get "Login incorrect", no prompt for password or anything. Any ideas on how can I salvage the situation?

linuxluis
06-26-2001, 12:31 AM
well reboot your machine one more time. but this time when it gets to lilo type in

linux single

that will give you root access. from there you could edit or take out what you added see if that works for you ok


tux :cool:

Howlin Mad Murdock
06-26-2001, 12:44 AM
hi,

I just had this happen to me and i was hoping someone would post the answer. it ends up i have a solution, i hope it works for you. first i booted into single mode. then i issued a:

dpkg -P --force-depend libpam-modules libpam-runtime libpam0g

then edit your sources.list and commeent out the unstable and testing directories, just have the stable. rune a

apt-get update

then a

apt-get install

This should install the stabel version of pam. I did this was able to login again.

Hoep this helps,

Murdock

VRay
06-26-2001, 02:01 PM
Thanks a lot guys, that helped. I can't excecute vi, is there a text editor that will work in single mode?

Ace69
06-26-2001, 02:07 PM
I may be wrong, but can't you just boot into single by the "linux single" at boot and once you are there, do a "passwd" and change it that way?

ille_pugil42
06-26-2001, 02:11 PM
if the module is wrong/corrupt/misconfigured (which is what I'm thinking they're getting at), then I don't think a passwd would help, because the entire routine is messed up.

EyesWideOpen
06-26-2001, 03:48 PM
Originally posted by VRay:
<STRONG>Thanks a lot guys, that helped. I can't excecute vi, is there a text editor that will work in single mode?</STRONG>

/usr/bin/pico may work -- but then again so should /usr/bin/vi in single user mode.