summaryrefslogtreecommitdiff
path: root/debian
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 17:13:43 -0700
commitba8b63651b7a1ecb5c095254aa4176ea8364358d (patch)
tree889aebd52fdca0800e1fa8c8b7dca411779ececf /debian
parent5db0d02ab584789a26f610751028d5eae377d6bc (diff)
downloadvyatta-cfg-ba8b63651b7a1ecb5c095254aa4176ea8364358d.tar.gz
vyatta-cfg-ba8b63651b7a1ecb5c095254aa4176ea8364358d.zip
Add group vyatta-op
Necessary to be able to distguish operators in config file to password sync.
Diffstat (limited to 'debian')
-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
+