Set the Root Password
Action
To set the root password, follow these steps:
-
To set the root password, enter a clear-text password
that the system will encrypt, a password that is already encrypted,
or a secure shell (ssh) public key string.
- To enter a password
that is already encrypted, use the following command to set the root
password:
[edit]root@# set system root-authentication encrypted-password
New Password: password
Retype new password: password
- To enter a password that is already encrypted, use the
following command to set the root password:
[edit]root@# set system root-authentication encrypted-password password
- To enter
an ssh public string, use the following command to set the root password:
[edit]root@# set
system root-authentication ssh-rsa key
- Commit the changes:
- Exit from configuration mode:
Published: 2011-10-26