How to Change an Ubuntu Root Password

Ubuntu is one of the versions of the Linux operating system. By default, Ubuntu does not create a root user. Instead, the computer administrator uses the "sudo" command and his own password to make system changes. You can create a root user, if you prefer. If you have created a root user, you must switch to the root user before changing the root password. If you have not created a root user, your password is the administrator password.

Instructions

  1. Existing Root User

    • 1

      Click on the "Applications" menu.

    • 2

      Highlight the "Accessories" category.

    • 3

      Click on the "Terminal" program to open the terminal window.

    • 4

      Type the command "su" to become the root user.

    • 5

      Type the current root password, when prompted.

    • 6

      Type the command "passwd" to change the root password.

    • 7

      Type the new root password twice, when prompted.

    • 8

      Type the command "exit" to close the root session.

    No Root User

    • 9

      Log in to an account that has administrator privileges.

    • 10

      Open a terminal window.

    • 11

      Type the command "passwd" to change the password.

    • 12

      Type the current password for the administrator account, when prompted.

    • 13

      Type the new password twice, when prompted.

Related Searches:

References

Resources

Comments

You May Also Like

Related Ads

Featured