Changing the password for root

From wiki.comcert.com
Revision as of 04:19, 5 December 2017 by Bert (talk | contribs) (Created page with " == 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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. It is NEVER reveilled to any 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, log in as TVadmin

Asume root

$ sudo su -

Use passwd to modify the password

# passwd

Logout

# 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>