LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-09-2004, 12:22 AM   #1
rajivb
Member
 
Registered: Sep 2004
Location: Bangalore, India
Distribution: Fedora, Ubuntu, WinXP
Posts: 39

Rep: Reputation: 15
admin account recovery


hi

i logged into my linux system as root.i open users & groups and was looking around. i noticed that the root account has been given expiration date as no. of days =0.As i was a newbie ,i did not meddle with it.i didn't know how it got selected.so i just logged out to login into my account.
it said 'it was disabled contact system admin'.i tried root account but it said the same thing .Now i can't login into my linux .Can anybody have any suggestions to enable the root account atleast? i'll be very gratefull.
 
Old 10-09-2004, 05:14 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
when you get to your lilo or grub prompt on boot, edit the boot command and add a "1" or "single" to it. This will log you into single user mode as root. you should then be able to run "passwd -u root" to reenable the root account, depending on how it was disabled.
 
Old 10-09-2004, 02:01 PM   #3
kenji
Member
 
Registered: Sep 2004
Location: Philippines
Distribution: Slackware
Posts: 143

Rep: Reputation: 16
if your using grub
type p is you have a password
once you have loaded the grub type e for edit
there will be a list of items choose the line that starts with the kernel
and at the end of the kernel line add single
if this did not work try putting a space before the single
press [enter] to exit
and type b to boot

if you are using lilo
press [ctrl]+[x ]
type 'linux single' without the quotes

type passwd to change the password or password root
then reboot got it?! £Ä3
 
Old 11-04-2004, 08:18 PM   #4
rajivb
Member
 
Registered: Sep 2004
Location: Bangalore, India
Distribution: Fedora, Ubuntu, WinXP
Posts: 39

Original Poster
Rep: Reputation: 15
thanks acid_kewpie and kenji for ur help.Got my account back.
 
Old 02-20-2005, 02:06 AM   #5
rajivb
Member
 
Registered: Sep 2004
Location: Bangalore, India
Distribution: Fedora, Ubuntu, WinXP
Posts: 39

Original Poster
Rep: Reputation: 15
kewpie ,can i close my threads?I think this thread won't go any further.So i thought of closing posts to it and just keep it for viewing.thanks in advance
 
  


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
Making an account an admin? sleepykit Mandriva 9 11-23-2005 05:51 PM
domain admin account ? alris Linux - Networking 0 11-01-2004 08:15 PM
Setting up Admin account on redhat 9 server manny203 Linux - Networking 4 09-06-2003 05:56 PM
mail server user account admin? bejamex Linux - Software 0 06-22-2003 09:59 PM
Resetting Admin Account mcronin Linux - Software 0 07-03-2002 12:29 AM

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

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