Setting the root password

Last Updated : Nov 15, 2024 |

About this task

You must create a password for the root user ID. Record this password for when you turn the system over to the customer.

Security alert:

Remind the customer to change and record the root password after the system is turned over to them.

Procedure

  1. Log on as root. You are not prompted for a password.
  2. Enter the following command to assign a password to the root user ID:

    passwd root

    The system displays the following message:

    Changing password for user root.
    New password: 
  3. Enter the new password for the root user ID.

    The system displays the following message:

    Retype new password:
    
  4. Enter the new password for the root user ID a second time.

    The system displays the following message:

    passwd: all authentication tokens updated successfully.