summaryrefslogtreecommitdiff
path: root/templates/service/ssh
diff options
context:
space:
mode:
authorRick Balocca <rbalocca@vyatta.com>2008-07-15 14:50:44 -0700
committerRick Balocca <rbalocca@vyatta.com>2008-07-15 14:50:44 -0700
commitfb24b39ff9241f7e72e8ca3f42629a29f928fbca (patch)
treeaee372ab8a578a6611f11545e52e4927a3c793ec /templates/service/ssh
parent325cfa1ed8dfe41aaf393bdf04f38c6b392f7994 (diff)
parent2d9868a5b7d97cd493c7035b9057784125f0fe9c (diff)
downloadvyatta-cfg-system-fb24b39ff9241f7e72e8ca3f42629a29f928fbca.tar.gz
vyatta-cfg-system-fb24b39ff9241f7e72e8ca3f42629a29f928fbca.zip
Merge branch 'hollywood' into islavista
Diffstat (limited to 'templates/service/ssh')
-rw-r--r--templates/service/ssh/allow-root/node.def3
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/