LinuxQuestions.org
Help answer threads with 0 replies.
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, 01: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 01:59 PM.
 
Old 03-10-2006, 02:48 PM   #2
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Blog Entries: 2

Rep: Reputation: 68
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, 02:51 PM   #3
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Blog Entries: 2

Rep: Reputation: 68
PS: Add the output of "cat /etc/fstab" and "mount". This is all info we need.
 
Old 03-10-2006, 03: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, 01:27 PM   #5
marozsas
Senior Member
 
Registered: Dec 2005
Location: Campinas/SP - Brazil
Distribution: SuSE, RHEL, Fedora, Ubuntu
Posts: 1,508
Blog Entries: 2

Rep: Reputation: 68
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 06:03 AM
root account expired TastyWheat Linux - Security 7 09-14-2004 09:47 AM
Re-enable an expired account xcoach Linux - Newbie 0 04-16-2004 11:39 AM
.... Can More Login - Account Expired (help!) Beuzekom Linux - Newbie 11 10-08-2003 11:45 AM
Root account expired, sort of.... rmohn Linux - Security 1 12-10-2002 11:32 AM

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

All times are GMT -5. The time now is 11:28 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