summaryrefslogtreecommitdiff
path: root/acct-cynerd/acct-cynerd.pre-install
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-01-28 19:54:33 +0100
committerKarel Kočí <cynerd@email.cz>2020-01-28 19:54:33 +0100
commitbb7171ac914773d475511e6c063db12cb317b136 (patch)
treef23bfaf8ddf5a86a93e38710a1db2a86b2dd64fe /acct-cynerd/acct-cynerd.pre-install
parentfef0d7d1eebfd3dad174855ed5f419e6af23a8b0 (diff)
downloadalpine-personal-pkgs-bb7171ac914773d475511e6c063db12cb317b136.tar.gz
alpine-personal-pkgs-bb7171ac914773d475511e6c063db12cb317b136.tar.bz2
alpine-personal-pkgs-bb7171ac914773d475511e6c063db12cb317b136.zip
acc-cynerd: add
Diffstat (limited to 'acct-cynerd/acct-cynerd.pre-install')
-rwxr-xr-xacct-cynerd/acct-cynerd.pre-install10
1 files changed, 10 insertions, 0 deletions
diff --git a/acct-cynerd/acct-cynerd.pre-install b/acct-cynerd/acct-cynerd.pre-install
new file mode 100755
index 0000000..60e70a9
--- /dev/null
+++ b/acct-cynerd/acct-cynerd.pre-install
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+addgroup -S cynerd 2>/dev/null
+adduser -D -h /home/cynerd -s /bin/zsh -G cynerd cynerd 2>/dev/null
+
+for group in wheel uucp audio dialout video kvm users abuild; do
+ adduser cynerd $group 2>/dev/null
+done
+
+exit 0