summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-04-11 16:30:32 +0200
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>2014-04-11 16:30:32 +0200
commit4872ab10ae07b6cc45b401a97d5b315f6760b940 (patch)
treefb1b6fdf32a11a2deb9287253d44280dd92319e4
parent661f7bdca34b6aa9d254802e6ce8c73c92fcd802 (diff)
downloadmeta-4872ab10ae07b6cc45b401a97d5b315f6760b940.tar.gz
meta-4872ab10ae07b6cc45b401a97d5b315f6760b940.tar.bz2
meta-4872ab10ae07b6cc45b401a97d5b315f6760b940.zip
generic-base: change main group of user 'app' to 'users'
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
-rw-r--r--scripts/generic-base.post3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/generic-base.post b/scripts/generic-base.post
index 16daa89..d93ce72 100644
--- a/scripts/generic-base.post
+++ b/scripts/generic-base.post
@@ -102,3 +102,6 @@ for user in alice bob carol app guest; do
find /home/$user/ -type d -exec chsmack -a User {} \;
done
+# adjust app group: main group 'users', extra group 'app'
+usermod -g users app
+usermod -G app app