Computing.Net > Forums > Linux > UserPassword for Root

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

UserPassword for Root

Reply to Message Icon

Name: d_rajesh
Date: September 8, 2006 at 05:13:01 Pacific
OS: Ubuntu
CPU/Ram: Pentium
Product: Intel
Comment:

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.



Sponsored Link
Ads by Google

Response Number 1
Name: FishMonger
Date: September 8, 2006 at 14:26:44 Pacific

Response Number 2
Name: Ravindra Solanki
Date: September 9, 2006 at 02:23:29 Pacific
Reply:

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 single

kenel /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
#passwd

to change root password

now enter new password 2 times, and type
7. reboot


Ravindra Solanki
Programmer-cum-Administrator
State Bank Of India, CBD Belapur


0

Response Number 3
Name: Dave The Snakes
Date: September 10, 2006 at 05:31:26 Pacific
Reply:

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"


0

Response Number 4
Name: Zenith
Date: September 11, 2006 at 23:31:01 Pacific
Reply:

"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"


0

Response Number 5
Name: 3Dave
Date: September 18, 2006 at 04:13:39 Pacific
Reply:

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 update

You 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/


0

Related Posts

See More



Response Number 6
Name: ctj
Date: September 18, 2006 at 06:59:19 Pacific
Reply:

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


0

Response Number 7
Name: 3Dave
Date: September 19, 2006 at 04:53:51 Pacific
Reply:

"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.


0

Sponsored Link
Ads by Google
Reply to Message Icon

tohd cheat code ssh tunneling



Post Locked

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


Go to Linux Forum Home


Sponsored links

Ads by Google


Results for: UserPassword for Root

Sound only works for root! help!? www.computing.net/answers/linux/sound-only-works-for-root-help/6110.html

automount of floppy for root, user www.computing.net/answers/linux/automount-of-floppy-for-root-user/22782.html

'Access denied for user: 'root@loca www.computing.net/answers/linux/access-denied-for-user-rootloca/27789.html