Changing the password for root: Difference between revisions

From wiki.comcert.com
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 16: Line 16:
Using the SSH client of your choise, log in as TVadmin
Using the SSH client of your choise, log in as TVadmin


Asume root
*Asume root  
<pre>$ sudo su -</pre>
<pre>$ sudo su -</pre>


Use passwd to modify the password
*Use passwd to modify the password  
<pre># passwd</pre>
<pre># passwd</pre>


Logout
*Logout  
<pre># logout
<pre># logout
$ logout</pre>
$ logout</pre>
Line 32: Line 32:
For security reasons, the user root cannot connect with SSH.
For security reasons, the user root cannot connect with SSH.


Connect a KVM to the server or connect to the IDRAC Virtual Console
*Connect a KVM to the server or connect to the IDRAC Virtual Console  
 
*Login using root/<new password>  
Login using root/<new password>


&nbsp;
&nbsp;


&nbsp;
&nbsp;

Revision as of 04:20, 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. 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>