summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-25 17:58:05 -0800
committerStephen Hemminger <stephen.hemminger@vyatta.com>2010-01-25 17:58:05 -0800
commitc7e989356c2810542aa9191139d261c6a282ea37 (patch)
tree29ca97b1a3ea223703e4f3b1b9e38c2e37ec87e9 /debian
parent79814f4e0d740caeced7cd0479720b15ffafd4bc (diff)
downloadvyatta-cfg-system-c7e989356c2810542aa9191139d261c6a282ea37.tar.gz
vyatta-cfg-system-c7e989356c2810542aa9191139d261c6a282ea37.zip
Fix typo in PermitRoot setup.
Diffstat (limited to 'debian')
-rw-r--r--debian/vyatta-cfg-system.postinst.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/vyatta-cfg-system.postinst.in b/debian/vyatta-cfg-system.postinst.in
index be5d1ca6..1f4de221 100644
--- a/debian/vyatta-cfg-system.postinst.in
+++ b/debian/vyatta-cfg-system.postinst.in
@@ -46,7 +46,7 @@ if [ "$sysconfdir" != "/etc" ]; then
# enable ssh banner
sed -i 's/^#Banner/Banner/' /etc/ssh/sshd_config
# make sure PermitRoot is off
- sed -i '/^PermitRootLogin/s/yes/no' /etc/ssh/sshd_config
+ sed -i '/^PermitRootLogin/s/yes/no/' /etc/ssh/sshd_config
# for "admin" level
sed -i 's/^# %sudo ALL=NOPASSWD: ALL/%sudo ALL=NOPASSWD: ALL/' /etc/sudoers