answersLogoWhite

0


Best Answer

The root password is stored in hashed form in the /etc/shadow file.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Where is the root password stored in Ubuntu?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Where is root password stored?

in /etc/shadow file, encrypted


What new features will be in ubuntu 12.04?

hi, ubuntu is old password i do no but new password try that him, pls guy help me.


How do you find your root password in Linux Mint terminal?

Linux Mint, like Ubuntu and most other Debian-based distros, do not enable the root account by default. If you need root permissions to do something, enter the commandsudo [whatever program you want to run]and enter your password when prompted.


You've forgotten the root password on your ubuntu. Describe how booting into single user mode will help you?

When you boot into single-user mode you aren't asked for any credentials (passwords, etc.). When you get the shell prompt, just reset the admin/root password using the passwd command. Then, allow multi-user mode to boot and you are all set with the new root password.


How do you access the superuser password on ubuntu without access privileges like a command prompt or something?

You can't "access" the superuser password. In addition to being stored in a file only readable by the superuser, its also encrypted in a one-way hash. This means that it is not stored in plaintext, and the computer checks to see if the password is correct by encrypting the supplied password and seeing if the hash matches, not just comparing the passwords sirectly.


How do you reset your Ubuntu password?

If you still have access to your own account, run passwd or find the Users and Accounts preferences dialog to change your password. If you don't have access to your account, you need to obtain root access to change the password, which involves editing the GRUB boot menu options. If all else fails, reinstall Ubuntu.... but be sure to make your home directory a separate partition so you will never lose personal files.


What is the password for su root in Linux?

The password would be whatever the root password is set to.


What is the command to obtain root permission in Linux for SSH?

There is no command specific to SSH. Whether you are physically using the machine in question or using an SSH client the process is the same. On Ubuntu, one is encouraged not to use the root account directly. To execute a command as root, enter sudo . On distros that don't include sudo, you can gain a root shell by entering the command su root. Both commands will require you to enter either your admin password or the root password, respectively.


I just bought a Compaq computer and it has ubuntu on it. I don't know the username or password what should I do?

1. Call your computer seller and ask him if Compaq has provided a username and password. 2. Get hold of a Ubuntu CD and install.


What command must an ordinary user type into a terminal window in order to become root?

This will depend on the distribution. Most Linux distributions allow you to assume root by simply entering "su", followed by your password. Ubuntu-based distributions disable the root account by default, and you are expected to use the "sudo" command before any command that requires root privileges (ie. sudo rm -rf /). You can gain a root shell by entering "sudo su", followed by your password.


How do you view passwords in Linux?

Most Unix systems no longer store the passwords in the password file; it is stored in a private file called /etc/shadow, only accessible by the root account. The passwords are stored in encrypted form in that file.


How do you change your password on Ubuntu?

There is a GUI tool that you can use, or try the 'passwd' command in a terminal window.