Changing the password for root

From wiki.comcert.com
Revision as of 04:33, 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 you need to do change the password anyway, please use this 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

 

Testing the new password for root

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>