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 10: Line 10:
 
 


{{#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.}}
{{#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.}}


 
 

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>