summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-11 17:16:42 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-11 17:16:42 -0700
commita2e34c14b26ed7536f7068241a48cdd5d36e29d1 (patch)
tree622206808b9ebfe3b1cc2a16fb4f15e561e77392
parent1e8e3983696df259dfe8ee3d287359d41efad962 (diff)
downloadvyatta-cfg-system-a2e34c14b26ed7536f7068241a48cdd5d36e29d1.tar.gz
vyatta-cfg-system-a2e34c14b26ed7536f7068241a48cdd5d36e29d1.zip
Don't allow setting group vyattaop
Make vyattaop consistent with vyattacfg
-rw-r--r--templates/system/login/user/node.tag/group/node.def5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/system/login/user/node.tag/group/node.def b/templates/system/login/user/node.tag/group/node.def
index 4466c5de..ed46fbb2 100644
--- a/templates/system/login/user/node.tag/group/node.def
+++ b/templates/system/login/user/node.tag/group/node.def
@@ -1,10 +1,11 @@
multi:
type: txt
help: Set additional group membership
-syntax:expression: ! $VAR(@) in "quaggavty", "vyattacfg", "sudo", "adm", "operator" ;
+syntax:expression: ! $VAR(@) in \
+ "quaggavty", "vyattacfg", "vyattaop", "sudo", "adm", "operator" ;
"Use configuration level to change membership of operator and admin groups"
allowed: awk -F: '
- $1 == "quaggavty" || $1 == "vyattacfg" || \
+ $1 == "quaggavty" || $1 == "vyattacfg" || $1 == "vyattaop" || \
$1 == "sudo" || $1 == "adm" || $1 == "operator" { next; }
{printf "%s ", $1}' </etc/group
comp_help: Enter group name or numerical group id