diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/login/user/node.tag/authentication/plaintext-password/node.def | 2 |
1 files changed, 1 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 5f1d09ed..84fd972c 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,7 +5,7 @@ help: Plaintext password for encryption # "encrypted-password" to an empty string (which actually allows login without # password). syntax:expression: exec "\ - if [[ -e /opt/vyatta/etc/.nofirstpasswd && $VAR(@) == 'vyatta' ]]; then \ + if [[ -e /opt/vyatta/etc/.nofirstpasswd && '$VAR(@)' == 'vyatta' ]]; then \ echo 'Invalid password [$VAR(@)]';\ exit 1;\ fi" |