LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   .... Can More Login - Account Expired (help!) (https://www.linuxquestions.org/questions/linux-newbie-8/can-more-login-account-expired-help-84792/)

Beuzekom 08-23-2003 02:35 AM

.... 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..................

_kossak_ 08-23-2003 02:47 AM

Boot in single user mode.
- When you get your lilo prompt use type linux single

Beuzekom 08-23-2003 02:50 AM

Kossak, thanks for giving me some hope ...how do you boot in single mode?

_kossak_ 08-23-2003 02:58 AM

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.

Beuzekom 08-23-2003 03:03 AM

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

_kossak_ 08-23-2003 03:07 AM

This might help if you're using grub:

https://www.redhat.com/docs/manuals/...ng-single.html

Beuzekom 08-23-2003 03:39 AM

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)

_kossak_ 08-23-2003 03:41 AM

New account:
adduser <username>

Delete old user:
deluser <username>

Beuzekom 08-23-2003 04:47 AM

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

Al Mehairi 10-07-2003 11:30 AM

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..

Al Mehairi 10-08-2003 04:52 AM

??? is anyone there to help :(

Al Mehairi 10-08-2003 10:45 AM

dont worry its ok Ive dont it finally :scratch:


All times are GMT -5. The time now is 11:12 AM.