summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-11 08:58:21 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-09-11 08:58:21 -0700
commite7239a890911aa7a169f02986e08b0e6e6de7159 (patch)
tree7a62e38d7f7812d9e002e07e955978171d347328
parent42abfac6f11077dbfc3b0eaf845597e38f7cd685 (diff)
downloadvyatta-cfg-e7239a890911aa7a169f02986e08b0e6e6de7159.tar.gz
vyatta-cfg-e7239a890911aa7a169f02986e08b0e6e6de7159.zip
Add group vyatta-op
Necessary to be able to distguish operators in config file to password sync.
-rw-r--r--debian/vyatta-cfg.postinst.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/vyatta-cfg.postinst.in b/debian/vyatta-cfg.postinst.in
index 0d2d3a3..9237df4 100644
--- a/debian/vyatta-cfg.postinst.in
+++ b/debian/vyatta-cfg.postinst.in
@@ -21,4 +21,7 @@ fi
mv /opt/vyatta/share/vyatta-cfg/templates/priority /opt/vyatta/share/vyatta-cfg/.
# add group for configuration, if not already present:
grep '^vyattacfg:' /etc/group >&/dev/null ||
-addgroup --system vyattacfg
+ addgroup --system vyattacfg
+grep '^vyattaop:' /etc/group >&/dev/null ||
+ addgroup --system vyattaop
+