diff options
author | An-Cheng Huang <ancheng@sydney.vyatta.com> | 2007-10-19 15:36:51 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@sydney.vyatta.com> | 2007-10-19 15:36:51 -0700 |
commit | 65f1eec84304afcde1935808519bd2cf51677a8a (patch) | |
tree | b5ef2f0e0d1f2fa10674a7eb57f5a6994f250704 /templates/system | |
parent | 07183520f3f4d2f89e526055db418046d0d2450f (diff) | |
download | vyatta-cfg-system-65f1eec84304afcde1935808519bd2cf51677a8a.tar.gz vyatta-cfg-system-65f1eec84304afcde1935808519bd2cf51677a8a.zip |
replace "rl_passwd" with the standard "mkpasswd".
Diffstat (limited to 'templates/system')
-rw-r--r-- | templates/system/login/user/node.tag/authentication/plaintext-password/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/system/login/user/node.tag/authentication/plaintext-password/node.def b/templates/system/login/user/node.tag/authentication/plaintext-password/node.def index 78619d79..0e2bd7a5 100644 --- a/templates/system/login/user/node.tag/authentication/plaintext-password/node.def +++ b/templates/system/login/user/node.tag/authentication/plaintext-password/node.def @@ -5,5 +5,6 @@ help: "Configure plaintext password for encryption" # "encrypted-password" to an empty string (which actually allows login without # password). update: $(@) == "" \ -|| ($(../encrypted-password/@) = `/opt/vyatta/sbin/rl_passwd '$(@)' dummy` \ +|| ($(../encrypted-password/@) \ + = `/usr/bin/mkpasswd -H md5 '$(@)' | tr -d \\\\n` \ && $(@) = "") |