Junos OS

last person joined: 17 hours ago 

Ask questions and share experiences about Junos OS.
  • 1.  local user account password is not encrypted and is displayed in clear text.

    Posted 07-15-2011 09:48

    I'm trying to setup an additional username and encrypted password on J4350. I've issued the following command and the password is displaying in clear text. Can someone tell me what i'm doing wrong.  Please see below...

     

    login {
            user admin {
                uid 2002;
                class super-user;
                authentication {
                    encrypted-password K2mber45 ; ## SECRET-DATA
                }
            }
            user tfsadmin {
                uid 2000;
                class super-user;
                authentication {
                    encrypted-password "$1$214chkKC$tgb4Edw6hiMiAvoFYv3110"; ## SECRET-DATA
                }



  • 2.  RE: local user account password is not encrypted and is displayed in clear text.
    Best Answer

    Posted 07-15-2011 10:00

    Looks like a cut-paste error, and I am a bit surpirsed that the J-series did not catch it..

     

    Enter in configuration mode, then do:

     

    set system login user admin authentication plain-text-password

     

    ...and press return.

     

    The system will prompt you for a password twice; enter your password.

    Then, the system will encrypt your plain-text password on the fly.

     

    If you then do a

     

    show system login user admin

     

    your password should be encrypted.

     

    (It is a bit of a lazy Friday for me..)

     

    Saverio



  • 3.  RE: local user account password is not encrypted and is displayed in clear text.

    Posted 07-15-2011 10:17

    worked like a charm!

     

    Thank you very much!