Results 1 to 8 of 8
Thread: forgot root password
|
Enjoy an ad free experience by logging in. Not a member yet? Register.
|
|
-
10-06-2007 #1
- Join Date
- Oct 2007
- Posts
- 6
forgot root password
i am a new user.this is my first letter,
my problem is i forgot my root pass word.i have another user in my system.i loged in using that account.i try tochange my root password by enter in single user mode.its ok.no problem till.but when i reboot system and login as root,i cant enter.and i cant configure my system to LAN because of this problem(dnt know root paswd).how can i solve this problem.but when i change the the user passwd (not root) nothig wrong.it change.but cant change root password.
-
10-06-2007 #2
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,732
Welcome to the forums!
Here's a HowTo for resetting the root password that should get you up and running again:
http://www.linuxforums.org/forum/lin...-password.htmloz
-
10-06-2007 #3
- Join Date
- Oct 2007
- Posts
- 6
friend the problem is that i enter in single user mod and change the password using "passwd" command.But when i reboot the system the logon screen appear.the user name(my name ) is listed left side.i change the user name and type try to enter as "root". but message appear fail to login.
-
10-06-2007 #4
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,732
Did you try the alternate method?
oz
-
10-06-2007 #5
Are you trying to login to the gui as root?
This is normally disabled by default.
There is a file that you can edit, I will see if I can find it if it important.If you want to learn more about linux take a linux journey
https://linuxjourney.com/
Use CODE tags when posting output of commands. Thank you.
https://www.linuxcounter.net/cert/608410.png
-
10-06-2007 #6If you want to learn more about linux take a linux journey
https://linuxjourney.com/
Use CODE tags when posting output of commands. Thank you.
https://www.linuxcounter.net/cert/608410.png
-
10-06-2007 #7
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,732
If that's what you are trying to do, I agree totally with budman7 and think you should leave the root account disabled.
The biggest mistake you can make in Linux is to create a really bad habit of logging in as the root user. I've not logged in as root user for at least the last 4 years now, and have not needed to do so. You can take care of administrative tasks by simply su'ing to root.
See man su.oz
-
10-28-2007 #8
- Join Date
- Oct 2007
- Posts
- 7
easy in the console window type in su super user which makes you a root for a short time than type in passwd root and type in 2 times.