Changing the password for root

From wiki.comcert.com
Revision as of 04:37, 5 December 2017 by Bert (talk | contribs)
Jump to navigation Jump to search

Introduction

Few customers have the need to change the password for root on the TruView appliance (SSH).  Most task can be completed by logging in as TVadmin and assuming root (sudo). If chaging the password for root becomes necessary, please use the following procedure.

 

Solution

 

 

The password for root is an 8 character complex password and is NOT to be revealed to customers.  However, you can modify this password once you are logged in as user TVadmin. For security reasons, 

 

Modify the password for root

Using the SSH client of your choise, login as TVadmin

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

 

Test the new password

For security reasons, the user root cannot connect with SSH.

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