diff options
author | rbalocca <rbalocca@vyatta.com> | 2008-07-16 14:16:29 -0700 |
---|---|---|
committer | rbalocca <rbalocca@vyatta.com> | 2008-07-16 14:16:29 -0700 |
commit | 3633af335f8273ac0ddc8f9cffedbcfa9d69cb44 (patch) | |
tree | 19cd5746b4b25e2a7f81e80128fe21e844702361 /templates/service/ssh/allow-root/node.def | |
parent | 325cfa1ed8dfe41aaf393bdf04f38c6b392f7994 (diff) | |
parent | f7f94359f2fccaed84b8c73c1ab743450348eb75 (diff) | |
download | vyatta-cfg-quagga-3633af335f8273ac0ddc8f9cffedbcfa9d69cb44.tar.gz vyatta-cfg-quagga-3633af335f8273ac0ddc8f9cffedbcfa9d69cb44.zip |
Merge branch 'hollywood' into islavista
Diffstat (limited to 'templates/service/ssh/allow-root/node.def')
-rw-r--r-- | templates/service/ssh/allow-root/node.def | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/service/ssh/allow-root/node.def b/templates/service/ssh/allow-root/node.def index f476087d..9aa98826 100644 --- a/templates/service/ssh/allow-root/node.def +++ b/templates/service/ssh/allow-root/node.def @@ -1,6 +1,7 @@ -type: bool +type: txt default: false help: Enable/disable root login over ssh +syntax:expression: $VAR(@) in "true", "false" ; "must be true or false" update: if [ \"$VAR(@)\" == \"true\" ]; then sudo ed - /etc/ssh/sshd_config <<-"EOF" /^PermitRootLogin/s/no/yes/ |