diff options
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | templates/system/login/user/node.tag/authentication/plaintext-password/node.def | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/debian/control b/debian/control index 2d092ba5..c3bd1482 100644 --- a/debian/control +++ b/debian/control @@ -12,7 +12,7 @@ Depends: bash (>= 3.1), perl (>= 5.8.8), procps (>= 1:3.2.7-3), coreutils (>= 5.97-5.3), - vyatta-cfg, sysv-rc, ifrename, ntp, sysklogd, busybox, ssh + vyatta-cfg, sysv-rc, ifrename, ntp, sysklogd, busybox, ssh, whois Suggests: util-linux (>= 2.13-5), net-tools, ethtool, 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` \ && $(@) = "") |