LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-28-2004, 07:26 AM   #1
g0d
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 10

Rep: Reputation: 0
Angry Lost Login Account on Red Hat 9, How do I get it back?


I think i messed around a little too much!
and i managed to expire my Red Hat 9 Account
i am new to linux but i was a Windows pro, and linux is so much better than windows. But i am new to linux, and i just need help getting my account back, i tryed using the command "linux rescue" and i didnt see nothing for getting an account back so please help me someone!
 
Old 02-28-2004, 07:44 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
What do you mean by expire? And which account are we talking about (normal user, root)?

If you are talking about a normal user and actually messed op the expire date, do the following, as root:

$ usermod -e 1970-01-01 <username>

After this the account will not expire any more.
 
Old 02-28-2004, 12:16 PM   #3
g0d
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 10

Original Poster
Rep: Reputation: 0
i dont know im a newb to linux, i have no idea whjat user it is, its the main one, the one i setup linux with
 
Old 02-28-2004, 12:25 PM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Give us a bit more information if you can:

- Can you log in at all?
- When and where did you try to use 'linux rescue'?
- Do you remember what it is you did. If not, when did you find out (and how) that something was wrong?

If you think of any other info that seems important, share it with us.
 
Old 02-28-2004, 12:36 PM   #5
g0d
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 10

Original Poster
Rep: Reputation: 0
i can not log in @ all, i tried using linux rescue but couldnt find any thing that would help me, i was playing arounmd with the Users and Members application and i must have changed something i shouldnt have
 
Old 02-28-2004, 12:44 PM   #6
g0d
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 10

Original Poster
Rep: Reputation: 0
i can not log into linux @ all, i was exploring into areas and i opened the "Users and Groups" app and changed something and it screwed up the user!
 
Old 02-28-2004, 12:47 PM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
Take a look here, it might help:

http://www.linuxquestions.org/questi...hreadid=124305
 
Old 02-28-2004, 12:55 PM   #8
g0d
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 10

Original Poster
Rep: Reputation: 0
i remember i root password, i just lost my account, is there any way you can put the instructions into lamest terms and by the way, i really appreciate you helping me
 
Old 02-28-2004, 01:17 PM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389Reputation: 2389
I do not believe the root account is actually gone, but without a clue how you disabled it I won't be able to help you (I could make things worse).

Using a resque cd/diskette would be my best advise. Start from that, mount your partitions and snoop around (see the link I gave you).
 
Old 02-28-2004, 01:22 PM   #10
g0d
LQ Newbie
 
Registered: Feb 2004
Distribution: Red Hat 9
Posts: 10

Original Poster
Rep: Reputation: 0
thank for trying to help me, lol, i know im a newber
 
Old 02-28-2004, 05:37 PM   #11
Looking_Lost
Senior Member
 
Registered: Apr 2003
Location: Eire
Distribution: Slackware 12.0, OpenSuse 10.3
Posts: 1,120

Rep: Reputation: 45
Did you perhaps remove/change the login shell for root to something that doesn't exist - the /bin/bash bit ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Installed Red Hat 9 but Lost Win XP renalmirol Red Hat 16 06-07-2005 09:24 AM
difference in user account management tools for debian, red hat and caldera. carverj Linux - Newbie 1 04-05-2005 07:07 AM
My first installation(Red Hat) and I almost lost everything-HELP beginner16 Linux - Newbie 12 11-19-2003 07:38 AM
Red Hat Account Lockout mcsestretch Linux - Security 1 03-18-2003 06:37 AM
Switching back to Red Hat login WMCoolmon Linux - Distributions 5 03-17-2003 03:51 PM


All times are GMT -5. The time now is 01:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration