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 03-10-2006, 12:56 PM   #1
The helpless one
Newbie
 
Registered: Mar 2006
Distribution: Cygwin
Posts: 6

Rep: Reputation: 0
root account expired


I'm quite new to linux and I don't know what I did...

Whenever I try to boot up linux, it says that there are problems with the root file and kicks me into shell. When I type the command 'su' to try to login, it tells me that the root account has expired.

How can I reenable my root account?

btw, I'm using Red Hat 9

Thanks.

Last edited by The helpless one; 03-10-2006 at 12:59 PM.
 
Old 03-10-2006, 01:48 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
Quote:
Whenever I try to boot up linux, it says that there are problems with the root file
Based on the above statement, I don't think there is a problem with the root account, but with the root file system.

You already is root in the above scenario. When some filesystem needs manual repair, you are left in a single user mode.

You need to fix any problems in the filesystems before linux can boot in normal multi-user mode again.

The disk repair program is "fsck". It needs a filesystem path as argument. Do you know what filesystem is damaged ? The command "fdisk -l" shows all partitions in your disks. Just in case, run fsck for each device in the first column which has Id=83 ! Attention: Run fsck only in partitions of type 83. Ignore any other.

If you can, post the output of "fdisk -l", just to be sure.

regards,
 
Old 03-10-2006, 01:51 PM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
PS: Add the output of "cat /etc/fstab" and "mount". This is all info we need.
 
Old 03-10-2006, 02:15 PM   #4
The helpless one
Newbie
 
Registered: Mar 2006
Distribution: Cygwin
Posts: 6

Original Poster
Rep: Reputation: 0
omg, I can't thank you enough

Just keep reading this ==> Thanks for your help man!
 
Old 03-11-2006, 12:27 PM   #5
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,393
Blog Entries: 1

Rep: Reputation: 63
You are Welcome !
 
  


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
user account expired ??? rahimzai Red Hat 3 10-10-2005 05:03 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
.... Can More Login - Account Expired (help!) Beuzekom Linux - Newbie 11 10-08-2003 10:45 AM
Root account expired, sort of.... rmohn Linux - Security 1 12-10-2002 10:32 AM


All times are GMT -5. The time now is 01:55 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration