Changing the password for root: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:
== Introduction ==
== 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.
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 10: Line 10:
 
 


{{#invoke:Message box|ambox |type=content|text=When for any reason credentials are lost the root account may be the last resort to gain access to the appliance. If you modify the password for root, keep it securely stored for future use.}}
{{#invoke:Message box|ambox |type=content|text=When passwords are lost the root password may be the only way to get access to the operating system. If you modify the password for root, keep it securely stored.}}


 
 


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

Latest revision as of 12:31, 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>