Sos
Please HELP!
I've blocked my user acount and the root account what do I do???? :confused: :confused: :cry: |
blocked? you mean you forgot the password?
at the lilo menu press ctrl+x (i think) and type "linux single". thas will then log you in as root automatically, and then you can set your password with "passwd" |
Nope didn't forget the password, but was playing with a login module for smartcards, and it seems i had one too many incorrect passwords in there due to the card, not me, and now both root and I'm locked out. :cry: , Anyways I put in the installation disk to do the linux rescue, but I don't know what to do when it gets to the prompt, what do I do?
:cry: |
I got to the prompt and it said that it mounted my old Linux installation on /mnt/sysimage , so I get to the command prompt and my system is there,(I'm logged in as root), I type passwd and reset my root password and exit, but at the login menu same thing happens
|
Since your old linux installation is on /mnt/sysimage, your password files are there too. Edit /mnt/sysimage/etc/shadow and remove the password field.
Never edit that file under normal circumstances though. |
I can't find a password entry in the shadow file???
And basically I read on another forum to delete everything between the first two colons at the root entry of the shadow file, but that hasn't worked either and I'm still getting the authentication failed right after I type root as login, it doesn't even ask for password?? Please help if you can, anyone. |
Thankyou all,
Its fixed what i did was got into the single user mode at boot up by ctrl-x and then removed the pam_musclecard.so from login at /etc/pam.d/login and /etc/pam.d/su and then passwd to reset the password for roor and then for user and it worked, thanks again :( |
All times are GMT -5. The time now is 11:31 AM. |