Changing the password for root: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
== Introduction == | == 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. | |||
| | ||
Line 10: | Line 10: | ||
| | ||
{{#invoke:Message box|ambox |type=content| | {{#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 | 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 === | ||
Using the SSH client of your | Using the SSH client of your choice, login as TVadmin. | ||
*Asume root | *Asume root | ||
<pre>$ sudo su -</pre> | <pre>$ sudo su -</pre> | ||
*Use passwd to modify the password | *Use passwd command to modify the password | ||
<pre># passwd</pre> | <pre># passwd</pre> | ||
*Logout | *Logout (twice) | ||
<pre># logout | <pre># logout | ||
$ logout</pre> | $ logout</pre> | ||
=== Test the new password === | |||
| | ||
== | {{#invoke:Message box|ambox |type=content|text=For security reasons, user root cannot connect using SSH.}} | ||
| |||
*Connect | *Connect to the iDRAC Virtual Consolea or connect a KVM to the server | ||
*Login using root/<new password> | *Login using root/<new password> | ||
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
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 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
For security reasons, user root cannot connect using SSH. |
- Connect to the iDRAC Virtual Consolea or connect a KVM to the server
- Login using root/<new password>