LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-23-2003, 02:35 AM   #1
Beuzekom
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Rep: Reputation: 15
Unhappy .... 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 (only created one account .. and su)

Thanks a zillion..................

Last edited by Beuzekom; 08-23-2003 at 02:36 AM.
 
Old 08-23-2003, 02:47 AM   #2
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
Boot in single user mode.
- When you get your lilo prompt use type linux single
 
Old 08-23-2003, 02:50 AM   #3
Beuzekom
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Original Poster
Rep: Reputation: 15
Kossak, thanks for giving me some hope ...how do you boot in single mode?
 
Old 08-23-2003, 02:58 AM   #4
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
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.
 
Old 08-23-2003, 03:03 AM   #5
Beuzekom
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 08-23-2003, 03:07 AM   #6
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
This might help if you're using grub:

https://www.redhat.com/docs/manuals/...ng-single.html
 
Old 08-23-2003, 03:39 AM   #7
Beuzekom
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Original Poster
Rep: Reputation: 15
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)
 
Old 08-23-2003, 03:41 AM   #8
_kossak_
Member
 
Registered: Apr 2003
Location: Minde. Portugal
Distribution: DEBIAN
Posts: 87

Rep: Reputation: 15
New account:
adduser <username>

Delete old user:
deluser <username>
 
Old 08-23-2003, 04:47 AM   #9
Beuzekom
Member
 
Registered: Aug 2003
Location: Netherlands
Distribution: Redhat 9.0
Posts: 38

Original Poster
Rep: Reputation: 15
Got it working again ..... generated a tempaccount user with no password set. Make all the changes and deleted this temp account again ...

adduser -m -g users -p "" tempaccount

Thanks a lot for your help!!
 
Old 10-07-2003, 11:30 AM   #10
Al Mehairi
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
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..
 
Old 10-08-2003, 04:52 AM   #11
Al Mehairi
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
??? is anyone there to help
 
Old 10-08-2003, 10:45 AM   #12
Al Mehairi
LQ Newbie
 
Registered: Oct 2003
Posts: 3

Rep: Reputation: 0
dont worry its ok Ive dont it finally
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
user account expired ??? rahimzai Red Hat 3 10-10-2005 05:03 AM
How to get a list of users with their password status (expired, account locked...)? ricky_ds Linux - General 6 02-28-2005 09:53 AM
root account expired TastyWheat Linux - Security 7 09-14-2004 08:47 AM
Re-enable an expired account xcoach Linux - Newbie 0 04-16-2004 10:39 AM
Root account expired, sort of.... rmohn Linux - Security 1 12-10-2002 10:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration