Changing the password for root: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
Line 7: Line 7:


== Solution ==
== Solution ==
 
{{#invoke:Message box|ambox |type=content|text=The root account may be the last resort to access the appliance if for any reason all other passwords are lost. If you modify the password for root, store the password in a safe place.}}
 


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

Revision as of 04:29, 5 December 2017

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