aboutsummaryrefslogtreecommitdiffstats
path: root/testing/bareos/bareos.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'testing/bareos/bareos.pre-install')
-rw-r--r--testing/bareos/bareos.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/testing/bareos/bareos.pre-install b/testing/bareos/bareos.pre-install
new file mode 100644
index 0000000000..4b1b8d83ed
--- /dev/null
+++ b/testing/bareos/bareos.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S bareos 2>/dev/null
+adduser -S -D -h /var/lib/bareos/ -s /sbin/nologin -G bareos -g bareos bareos 2>/dev/null
+
+exit 0