Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All
     

    Related Documentation

     

    Example: Configuring the Root Password

    Junos OS is preinstalled on the router. When the router is powered on, it is ready to be configured. Initially, you log in as the user “root” with no password. To set the root password, you have several options: enter a clear-text password that the system will encrypt, enter a password that is already encrypted, or enter a secure shell (ssh) public key string.

    To set the root password, follow these steps:

    1. To enter a clear-text password that the system will encrypt, use the following command to set the root password:
      [edit]root@# set system root-authentication plain-text-password New Password: type password hereRetype new password: retype password here
    2. 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
    3. To enter an ssh public string, use the following command to set the root password:
      [edit]root@# set system root-authentication ssh-rsa key
    4. Commit the changes:
      [edit]root@# commit
    5. Exit from configuration mode:
      [edit]root@# exitroot@>
     

    Related Documentation

     

    Published: 2013-05-06