.... Can Not Login anymore - Account Expired (help!)
Yesterday I have been playing with the user accounts and set my expiration date to 2008.
This morning however I was not able to login anymore (account expired).... does anybody know how I login as su or any other way to get access to the system again :cry: (only created one account .. and su) Thanks a zillion.................. |
Boot in single user mode.
- When you get your lilo prompt use type linux single |
Kossak, thanks for giving me some hope ...how do you boot in single mode?
|
Reboot your computer;
When you get LILO... press shift; Press TAB to see your available boot images; type the leftmost followed by a space and single (the word single); ENTER; Then you'll be prompted to type root's password; That way you get a login so you can fix what you've done; I'm assuming you're using LILO as your boot manager. If you're using GRUB I think it's the same way but I'm not sure. |
Hmm not sure what boot manager I am using but GRUB sound more familiar to me ... gonna give it a try and see how far I get
|
|
Hi Kossak,
in Grub bootmanager edited the second line (kernel /vllinux ...) and added single and then booted. Got a command line in which I can do many things (I guess:-)).... But I need to find a CLI command to create a new account or change my old one ... Do you have suggestion? (will check the archives as well) |
New account:
adduser <username> Delete old user: deluser <username> |
Got it working again ..... generated a tempaccount user with no password set. Make all the changes and deleted this temp account again ... :p
adduser -m -g users -p "" tempaccount Thanks a lot for your help!! :D |
am facing the same problem now and i just registered in this forum coz of my problem and am looking forward to c ur help :(
I think am using GRUB !! I had done what in this link but nothing happen --------------- _kossak_ This might help if you're using grub: https://www.redhat.com/docs/manuals...ing-single.html --------------- I just end with a line which i think i can type many commands. also i try to adduser or deluser but i couldnt can some1 please spicify the steps for me ! I want to del the old account and add new one and without password if it would be possible. waiting for ur help :( I just used it for 1 night ! how sad is this Al Me.. |
??? is anyone there to help :(
|
dont worry its ok Ive dont it finally :scratch:
|
All times are GMT -5. The time now is 07:41 PM. |