summaryrefslogtreecommitdiff
path: root/templates/service/ssh
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-24 22:15:27 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-24 22:24:13 -0800
commitec515b52b681cd96bf51626bf899e3177bdbe3f3 (patch)
tree0cc4a8ce494aa1c697f7042c637edf986f1a3622 /templates/service/ssh
parent8fc0c2869f77782d344bf0cddf5a2e3d5657761b (diff)
downloadvyatta-cfg-system-ec515b52b681cd96bf51626bf899e3177bdbe3f3.tar.gz
vyatta-cfg-system-ec515b52b681cd96bf51626bf899e3177bdbe3f3.zip
Fix allow-root for telnet/ssh
Bug 5252 The boot script needs to restore default settings, and the templates are then used to enable root access.
Diffstat (limited to 'templates/service/ssh')
-rw-r--r--templates/service/ssh/allow-root/node.def2
1 files changed, 1 insertions, 1 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