Changing the password for root

From COMCERT Wiki
Jump to: navigation, search

Introduction

Most task can be completed as user TVadmin and assuming root and only few customers have the need to change the password for root on the TruView appliance. If chaging the password for root becomes unavoidable, please use the following procedure.

 

Solution

 

 

The password for root is an 8 character complex password and WILL NOT be revealed to customers.  You can modify this password once you are logged in as user TVadmin. For security reasons, user root can only connect to the console directly (no SSH).

Modify the password for root

Using the SSH client of your choice, login as TVadmin.

  • Asume root
$ sudo su -
  • Use passwd command to modify the password
# passwd
  • Logout (twice)
# logout
$ logout

Test the new password

 

 

  • Connect to the iDRAC Virtual Consolea or connect a KVM to the server
  • Login using root/<new password>