aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ossec-hids/ossec-hids.pre-install
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2016-11-18 09:56:40 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2016-11-18 09:56:44 +0000
commite7ab352a8e3f4d163a179db32e3d9755a3c646fb (patch)
treed7ed2b397dca5cb762d376404e4ce0385d505d54 /testing/ossec-hids/ossec-hids.pre-install
parente97929951431659b385e74003db6cdc7f7f7dbd4 (diff)
downloadaports-e7ab352a8e3f4d163a179db32e3d9755a3c646fb.tar.bz2
aports-e7ab352a8e3f4d163a179db32e3d9755a3c646fb.tar.xz
testing/ossec-hids: new aport
Diffstat (limited to 'testing/ossec-hids/ossec-hids.pre-install')
-rwxr-xr-xtesting/ossec-hids/ossec-hids.pre-install9
1 files changed, 9 insertions, 0 deletions
diff --git a/testing/ossec-hids/ossec-hids.pre-install b/testing/ossec-hids/ossec-hids.pre-install
new file mode 100755
index 0000000000..8993001c8f
--- /dev/null
+++ b/testing/ossec-hids/ossec-hids.pre-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+addgroup -S ossec 2>/dev/null
+adduser -S -D -s /bin/false -h /var/ossec -G ossec -g ossec ossec 2>/dev/null
+adduser -S -D -s /bin/false -h /var/ossec -G ossec -g ossec ossecm 2>/dev/null
+adduser -S -D -s /bin/false -h /var/ossec -G ossec -g ossec ossecr 2>/dev/null
+
+exit 0
+