Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
I cannot login as root user? How to login on my system using root on a default clean installation. What is the password for the root uid.
I can login to my system on the user login created at the time of installation for non-administrative purposes, but how to login as root to make administrative tasks on my system.

1. Reboor your system
2. On GRUB screen, type e,
3. select kernel line, again type e
4. go to last of the line
and type linux single or 1
e.g.
kenel /vmlinuz-2.4.18-14 ro root=LABEL=/ linux singlekenel /vmlinuz-2.4.18-14 ro root=LABEL=/ 1
4. Now type b to boot the system.
5 You are in single user mode, u got # prompt
6.type
#passwdto change root password
now enter new password 2 times, and type
7. reboot
Ravindra Solanki
Programmer-cum-Administrator
State Bank Of India, CBD Belapur

you have the choice to set your password when you install,you dont have to set a "user" if you dont want to.Sometimes "root" with "root"will work,you should have set your password when you installed,next time write it down and remember it.
After this,when you have set your password log in as "root" then goto manage "users" section and log in any amount of users--remember to save these users then exit,after this you will be prompted to enter these users when the systems boots up.
By the way when you log in as "root" you will be warned that "Root" is a bad way to login(and you will have a "RED" screen)--ignore this warning the first time round and enter and save your "users"

"How to login on my system using root on a default clean installation?"
Usually the root password is blank, as in no password, when logging in for the first time.
Search Engines Are Your Friends ☺
Morpheus: There is a difference between
knowing the path and walking the path. "The Matrix"

Er....I see that you are using Ubuntu. By default Ubuntu does not assign a password for root as you are expected to use sudo instead and your users password, eg:
$ sudo apt-get updateYou can set a passwd for root by using sudo and su:
$ sudo su -
Enter you user password.
You are now logged on as root and can set a password with "passwd".But as I said before, Ubuntu encourages the use of sudo instead. Out of all the Ubuntu machines I have installed and maintained (yes, I have started rolling out some linux desktops at work) I have never had to log on as root....which is a good thing!
FYI Check out http://ubuntuguide.org/

While you install the linux, it asks for the root password, and I remember it forces us to enter a password for the root.
ctj

"While you install the linux, it asks for the root password, and I remember it forces us to enter a password for the root."
As I said above, Ubuntu is slightly different to other distros as during installation it doesn't prompt for a root password but instead asks you the name and password for an account which is then created with permission to administer the system (eg with sudo and a member of the wheel group). Just use the account you created during setup and use sudo with your own (not root's) password.

![]() |
tohd cheat code
|
ssh tunneling
|

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |