juniper root password設定について | インターノウスインフラエンジニアブログ

インターノウスインフラエンジニアブログ

インターノウスのインフラエンジニア奮闘記。
https://www.internous.co.jp/

<juniper root password設定について>

既存configを見ると以下のように設定があるが

set system root-authentication encrypted-password "暗号化後PW"
set system login user admin authentication encrypted-password "暗号化後PW"


そのまま「encrypted-password」で設定するとログインできなくなる!!

set system root-authentication encrypted-password "暗号化前PW"
set system login user admin authentication encrypted-password "暗号化前PW"

(暗号化前PWが暗号化後PWとして登録される為)

※特にrootパスワードログインできなくなるとパスワードリカバリーするのがとても面倒

なのでかならず平文パスワード(plain-text-password)で設定すること!!
設定後のconfigには暗号化パスワード(encrypted-password)として表示される。

(例)

root@EX#set system root-authentication encrypted-password →enter
 New password:(1回目PW入力) →enter
 Retype password:(2回目PW入力) →enter

 

root@EX#set system login user admin authentication encrypted-password →enter
 New password:(1回目PW入力) →enter
 Retype password:(2回目PW入力) →enter