diff options
author | John Southworth <john.southworth@vyatta.com> | 2012-12-12 14:34:54 -0800 |
---|---|---|
committer | John Southworth <john.southworth@vyatta.com> | 2012-12-12 14:34:54 -0800 |
commit | 7d451abcc956ce92c6c6dfd6286757ce9da2aaa6 (patch) | |
tree | 40bb5624910248ea15479d6034257e1b09ae791a /templates | |
parent | 802f4e507d877a8354bf3c504e3c24c135201d93 (diff) | |
download | vyatta-cfg-system-7d451abcc956ce92c6c6dfd6286757ce9da2aaa6.tar.gz vyatta-cfg-system-7d451abcc956ce92c6c6dfd6286757ce9da2aaa6.zip |
revert 918bd40d3e3f238a800b1486f70e2d5ee1d71a72
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/login/user/node.tag/authentication/plaintext-password/node.def | 5 |
1 files changed, 0 insertions, 5 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 84fd972c..12a74a36 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 @@ -4,11 +4,6 @@ help: Plaintext password for encryption # and do nothing. to set password to empty, user needs to set the # "encrypted-password" to an empty string (which actually allows login without # password). -syntax:expression: exec "\ - if [[ -e /opt/vyatta/etc/.nofirstpasswd && '$VAR(@)' == 'vyatta' ]]; then \ - echo 'Invalid password [$VAR(@)]';\ - exit 1;\ - fi" update:expression: $VAR(@) == "" \ || ($VAR(../encrypted-password/@) \ = `/usr/bin/mkpasswd -H md5 '$VAR(@)' | tr -d \\\\n` \ |