Canonical Ltd. Ubuntu Logo
Anonymous Posted on Aug 04, 2008

Ubuntu Change Root Password

How do I change the root password on a Ubuntu operating system?

  • Anonymous Sep 10, 2008

    I can't change my root password, how can I find out what it is?

  • elfsgirl Jan 04, 2009

    I remember my password but Unbuntu also asks for a userid, which I never entered...

×

3 Answers

Anonymous

Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

  • Contributor 30 Answers
  • Posted on Aug 04, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

MVP:

An expert that got 5 achievements.

Governor:

An expert whose answer got voted for 20 times.

Hot-Shot:

An expert who has answered 20 questions.

Joined: Jul 21, 2008
Answers
30
Questions
52
Helped
91769
Points
86

Nelson,

This is the way i do it, maye there's an other way.

Ubuntu has no set password for the root user. The defult root password is your own user password, the password you set for the first user while installing Ubuntu.

These are the steps to change the password -

1.Applicatons > Accessories > Terminal.
2.In the new window that opens write "sudo passwd".
3.the system will ask for the new root password.

Anonymous

Level 1:

An expert who has achieved level 1.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Problem Solver:

An expert who has answered 5 questions.

  • Contributor 11 Answers
  • Posted on Aug 04, 2008
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Corporal:

An expert that has over 10 points.

Mayor:

An expert whose answer got voted for 2 times.

Problem Solver:

An expert who has answered 5 questions.

Joined: Jul 25, 2008
Answers
11
Questions
0
Helped
8359
Points
33

If you are using Unbuntu, then by default there is no password set for the root user. In order to log onto root, you have to initially create your own password. this password will be the password that you set for the first user that you created while installing the OS.
To manually set the password type "sudo passwd" into the command shell and then confirm your password.

Ad

Anonymous

Level 1:

An expert who has achieved level 1.

  • Contributor 1 Answer
  • Posted on Mar 16, 2009
Anonymous
Contributor
Level 1:

An expert who has achieved level 1.

Joined: Mar 16, 2009
Answers
1
Questions
0
Helped
5462
Points
1

I downloaded a user app the makes it easy to do stuff like that go on add and remove app and look for a user profile editor and it helps alot with stuff like that

Add Your Answer

×

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

0helpful
2answers

Yea i am useing a system called ubuntu and it keeps asking me for a password to instill updates or apps but i dont have a password on it how do i get it off

Ubuntu has Two different passwords a root password and a user password. When you say you do not have a password you mean a user password. The System is looking for a root password. It asked you for one when you installed the system. If you do not know it the only way I know to get around it is to reinstall. Ubuntu and most linux distro is free. Download one and make a cd or dvd then reinstall if you do not have one.
0helpful
1answer

HP Centario running Lenux I reset the CMOS battery and the blue screen still comes on says password required what am I doing wrong?

if you are running linux ubuntu


http://www.howtogeek.com/howto/linux/reset-your-forgotten-ubuntu-password-in-2-minutes-or-less/ Click "Applications" and then click "Accessories" on the top taskbar in the Ubuntu desktop. Click "Terminal" to open a terminal window. Type the following command at the Linux prompt and press the "Enter" key: sudo passwd To change the Administrator account password, the password of "root" is changed. The "sudo" command gives the current user temporary Administrator access, in this instance, to change the password of "root." First, the user will see a Unix prompt asking for the current user's password. Type the user password for the current user account. Press the "Enter" key. Next, Unix will prompt the user for the new password for "root." Type the new password for "root." Press "Enter." Finally, a Unix prompt will require a confirmation of the password. Retype the new password for root, and press "Enter." The Administrator (root) account password for Ubuntu is now reset or Boot computer into recovery mode. Reset your computer and as it is booting, hold down the "Shift" key on your keyboard. You will be presented with the boot menu. Select "Recovery Mode" from the boot menu. It is usually the the second boot option. Wait for computer to boot up. You will be presented with the Recovery Menu. Select "Drop to Root Shell Prompt." Type "ls /home" and press "Enter." Note: The command starts with a lower case L, not a capital i. You will be presented with a list of usernames of accounts installed on the computer. Type "passwd username" where username is replaced by the name of the account you want to reset. For example, if the username of your account was "jeff" you would type "passwd jeff" and press "Enter." You will be prompted to create a new password. Enter a new password of your choosing. Note: You will see no visual response when you type in your newly selected password; however, the computer still will register the input. Press "Enter." You will be asked to retype your password. Re-enter the same password and press "Enter." Your password is now reset. Type "Exit" to return to the boot menu and select "Resume Normal Boot" to restart Ubuntu.
0helpful
1answer

Ubuntu adm password reset

Click "Applications" and then click "Accessories" on the top taskbar in the Ubuntu desktop.


Click "Terminal" to open a terminal window.


Type the following command at the Linux prompt and press the "Enter" key:

sudo passwd


To change the Administrator account password, the password of "root" is changed.


The "sudo" command gives the current user temporary Administrator access, in this instance, to change the password of "root."


First, the user will see a Unix prompt asking for the current user's password.


Type the user password for the current user account. Press the "Enter" key. Next, Unix will prompt the user for the new password for "root."


Type the new password for "root." Press "Enter." Finally, a Unix prompt will require a confirmation of the password.


Retype the new password for root, and press "Enter." The Administrator (root) account password for Ubuntu is now reset


or


Boot computer into recovery mode. Reset your computer and as it is booting, hold down the "Shift" key on your keyboard.

You will be presented with the boot menu.


Select "Recovery Mode" from the boot menu.

It is usually the the second boot option.


Wait for computer to boot up.

You will be presented with the Recovery Menu. Select "Drop to Root Shell Prompt."


Type "ls /home" and press "Enter." Note:

The command starts with a lower case L, not a capital i.

You will be presented with a list of usernames of accounts installed on the computer.


Type "passwd username" where username is replaced by the name of the account you want to reset. For example, if the username of your account was "jeff" you would type "passwd jeff" and press "Enter." You will be prompted to create a new password.


Enter a new password of your choosing.

Note: You will see no visual response when you type in your newly selected password; however, the computer still will register the input. Press "Enter."


You will be asked to retype your password.

Re-enter the same password and press "Enter."


Your password is now reset.

Type "Exit" to return to the boot menu and select "Resume Normal Boot" to restart Ubuntu.


hope this helps


1helpful
1answer

After installing Ubuntu I logged out. Now is asks for a user name and passwork but I did't set any. I asked for it to automaticaly log on. How dos I fix it?

In Ubuntu 9.04 click on the main icon and select Restart.

- If Ubuntu is the only operating system on your computer you'll need to tap the ESC key as the system boots.

- If you have a
dual boot or multiple-boot system the menu should appear on its own.

- At the root level you'll get a boot menu. Select the one that says "recovery mode" and press Enter.

- Ubuntu continues to load until you reach the Recovery Menu.

- Arrow down to "

netroot

" which states Drop to root shell prompt with networking and press Enter.

- Now, at the root type "

password username

" (where username is the account whose password you want to change) and press Enter.

- You'll be prompted to

enter a new password

.

- You will not see the password or any evidence that you are typing.

- Retype the password. If both passwords match you'll have successfully reset your password.

- Press Enter to continue booting into Ubuntu.

hope it helps

1helpful
1answer

Machine wth ubuntu OS. when I go to internet you tube request some flash installation to see videos, but when install machine request e the password to continue, the machie was a gift from an uncle to my...

Hi

"Yes" for installing any flash or any type or program you might Administrator password.
As default Ubuntu has no password set for the root user. To gain root access you have to type in your own user password. This is the password you set for the first user while installing Ubuntu. To manually set a password for the root user, type in the following in the shell:


sudo passwd

After that you are asked to type in the new root password twice. Finally, your root user has its own password.

Now you enter the your password to install the flash or any other program.


Cheer
0helpful
1answer

I am trying to install a lexmark 6500 printer to software ubuntu and it continues to ask for a password to username root. I do not have a username to root. Help!!!

when you created your user account you temporarily have ROOT ACCESS.when you use the sudo command to run a install ( sudo apt-get install ) it asks for root password use your password

do a man sudo
it will explain what sudo is and does.
0helpful
1answer

Root Password

Hi Daniel,
Ubuntu has the root account locked by default. If you need to run as root, you use sudo username (This is recommended)
If you want to have a root shell on an Ubuntu system (It is not suggestedsuggested)
sudo -i
This is equivalent to the "su -" command sudo -s
This is equivalent to the "su" command

1helpful
2answers

HP Pavilion w. Vista, am trying to open Ubuntu for first time since install, but it wants a user name and password. Have tried all the combos from Windows, keep getting wrong password or name message. Also...

First of all, try this:
Username: root
Password: root

Second of all, you only specified that you had Vista. If you manually installed Ubuntu, then you must've specified a Username and Password during the setup.

If none work, then go ahead and format the Ubuntu partition, then re-install Ubuntu. This time, try to remember the Username and Password.
Not finding what you are looking for?

5,472 views

Ask a Question

Usually answered in minutes!

Top Canonical Ltd. Computers & Internet Experts

Grand Canyon Tech
Grand Canyon Tech

Level 3 Expert

3867 Answers

Brad Brown

Level 3 Expert

19187 Answers

Cindy Wells

Level 3 Expert

6688 Answers

Are you a Canonical Ltd. Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...