change language in blog

Monday, February 13, 2012

How to Change the Root Password in Linux

In Linux and other Unix-like operating systems the user "root" is the system super-user. Similar to the administrator account(s) in Windows, root has complete control over the system. The following article will describe how to change the root password in Linux

Steps

  1. 1
    Log on as root.
     Log on as root.
    Log on as root. This can be achieved by typing "su" or "su root" at the terminal prompt.

  2. 2
    Enter the current root password.
     Enter the current root password.
    Enter the current root password. Don't be alarmed if as you type nothing is displayed at the prompt. This is intentional for security reasons.
  3. 3
    Type the command "passwd" at the root prompt.
     Type the command "passwd" at the root prompt.
    Type the command "passwd" at the root prompt.
  4. 4
    Enter your new password and repeat it at the confirmation prompt.
  5. 5
    Logout using the "exit" command.

EditTips

  • Some distributions(such as Ubuntu) lack a root account by default. If you are given an error as you try to log in as root this may be the case.

source by wikihow

No comments:

Post a Comment

Total Pageviews