From 2d9868a5b7d97cd493c7035b9057784125f0fe9c Mon Sep 17 00:00:00 2001
From: root <root@io.vyatta.com>
Date: Mon, 14 Jul 2008 14:59:07 -0700
Subject: Fix 3359: changing telnet setting drops other telnet sessions.

---
 templates/service/ssh/allow-root/node.def | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'templates/service/ssh/allow-root/node.def')

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/
-- 
cgit v1.2.3

