LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (http://www.linuxquestions.org/questions/red-hat-31/)
-   -   Root's account has been disable by system administrator (http://www.linuxquestions.org/questions/red-hat-31/roots-account-has-been-disable-by-system-administrator-383323/)

Tidus4Yuna 11-15-2005 09:06 AM

Root's account has been disable by system administrator
 
I am an advanced computer user, but not in linux so please be gentle :)

I am having issues with my Root account.

The machine was working fine the last time i used it. Now when I try to log into the linux machine with the root account, it says that the system administrator has disabled your account. I am not on a network and I am the administrator. I have not touch the account information for the Root.

Is there an easy way to recover the root account?

I am on Red Hat 9.

b0uncer 11-15-2005 09:39 AM

Sure is, unless you have protected this way :) boot your system in a single-user mode, and you have root login (administrator rights). Then change the root password to make sure it works,

Code:

[root@localhost]# passwd
and there you go. then reboot the machine and see if it worked. And remember, as long as you can boot in a single-user mode, you can change the root password - actually, you can do anything. So it might be a good idea to protect the system so you can't boot into single-user mode just like that (bootloader password is one help...)

Keruskerfuerst 11-15-2005 09:40 AM

You can try to acess your system with the rescue system contained on the CD/DVD.

Tidus4Yuna 11-15-2005 10:35 AM

Quote:

Originally posted by b0uncer
Sure is, unless you have protected this way :) boot your system in a single-user mode, and you have root login (administrator rights). Then change the root password to make sure it works,

Code:

[root@localhost]# passwd
and there you go. then reboot the machine and see if it worked. And remember, as long as you can boot in a single-user mode, you can change the root password - actually, you can do anything. So it might be a good idea to protect the system so you can't boot into single-user mode just like that (bootloader password is one help...)

well its not the password that's the problem, it's the fact that it's disabled. So if i can get into s-u mode, how do I get the root account to be active again. Like I said I'm a total :newbie: at this so step by step is great :D

rahimzai 11-16-2005 12:41 AM

so sad
 
once i had the same problem....i tried my best to solve the problem..i tried to change the root pass but i was unable so i re-installed the Redhat ! so i can just say that you can re-install it !


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