Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  How to change encrypt strength of root password form MD5 to SHA256 or SHA512 ?

    Posted 11-28-2023 05:42

    Hello,

    Could anyone help me for how to change encrypt strength of root password form MD5 to SHA256 or SHA512 ?

    More info as below:

    -HW: SRX340

    -OS: v23.2

    -Config: set system root-authentication encrypted-password "$1$.........."



    ------------------------------
    Tokumei Kibou
    ------------------------------



  • 2.  RE: How to change encrypt strength of root password form MD5 to SHA256 or SHA512 ?

    Posted 11-29-2023 06:15

    Hi Tokumei,

    if you set the root password with: set system root-authentication plain-text it will use SHA256 by default. 

    Also I would not recommend using 23.2 unless this is a test platform.



    ------------------------------
    HARRY
    ------------------------------



  • 3.  RE: How to change encrypt strength of root password form MD5 to SHA256 or SHA512 ?

    Posted 12-26-2023 07:39

    Hi Harry,

    Sorry, I missed your message.

    Thank you very much for information on 23.2.

    I will check it out.

    Regards,



    ------------------------------
    Tokumei Kibou
    ------------------------------



  • 4.  RE: How to change encrypt strength of root password form MD5 to SHA256 or SHA512 ?

     
    Posted 11-29-2023 06:15

    Hi,

    according to password (Login) | Junos OS | Juniper Networks the password "strength" has been changed to default to sha512. So if you reentered the password as plain text it should safe it with $6$. If not please let us know and force the desired behavior by configuring this option.

    Regards

    Ulf