summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/service/ssh/allow-root/node.def2
-rw-r--r--templates/service/telnet/allow-root/node.def2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/service/ssh/allow-root/node.def b/templates/service/ssh/allow-root/node.def
index 1c56d221..c1e6abf2 100644
--- a/templates/service/ssh/allow-root/node.def
+++ b/templates/service/ssh/allow-root/node.def
@@ -1,5 +1,5 @@
help: Enable root login over ssh
-update: sudo sed -i -e '/^PermitRootLogin/s/no/yes/' /etc/ssh/sshd_config
+create: sudo sed -i -e '/^PermitRootLogin/s/no/yes/' /etc/ssh/sshd_config
delete: sudo sed -i -e '/^PermitRootLogin/s/yes/no/' /etc/ssh/sshd_config
diff --git a/templates/service/telnet/allow-root/node.def b/templates/service/telnet/allow-root/node.def
index 01c8bd0f..39c78062 100644
--- a/templates/service/telnet/allow-root/node.def
+++ b/templates/service/telnet/allow-root/node.def
@@ -1,3 +1,3 @@
help: Enable root login over telnet
-update: /opt/vyatta/sbin/vyatta_update_telnet allow-root true
+create: /opt/vyatta/sbin/vyatta_update_telnet allow-root true
delete:/opt/vyatta/sbin/vyatta_update_telnet allow-root false