How to recover my root password?
Hi, how can i recover my root password?
|
if you are using lilo:
edit boot line and add 'linux single' and recover with 'passwd' if you are using grub: edit boot line and add 'init 0' and recover with 'passwd' |
Oic. I have 1 more questions. Why i can use sudo -i with my root password. but i can't use my root password using su command?
|
Dear user, the question is not at all clear. Please make it understandable. What are you trying to do? Logging in as SuperUser? You can use the root password to do so :)
|
what i meant is, i cannot use su command, but can use sudo -i command when i was using the same root password.
|
What is the mode for the file /etc/sudoers ?
|
sudoers mode is -r--r-----
|
You can only access root permission with Sudo in Ubuntu, you cannot switch user to root.
|
|
ya, but i can use sudo -i but not su. I will try later after changing my root password, thx.
|
Quote:
su, on the otherhand change to that user (or root if non is specified), and enter the password to the user being su'ed to. |
Quote:
|
All times are GMT -5. The time now is 11:03 AM. |