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 2: Line 2:
== Introduction ==
== Introduction ==


As most task can be completed by logging in as administrative user TVadmin and assuming root (sudo), only few customers have the need to change the password for root on the TruView Linux appliance. If chaging the password for root becomes necessary, please use the following procedure.
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.


 
 
Line 14: Line 14:
 
 


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 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 ===
=== Modify the password for root ===

Revision as of 12:29, 20 January 2018

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>