summaryrefslogtreecommitdiff
path: root/user/bind/bind.pre-install
diff options
context:
space:
mode:
Diffstat (limited to 'user/bind/bind.pre-install')
-rw-r--r--user/bind/bind.pre-install6
1 files changed, 6 insertions, 0 deletions
diff --git a/user/bind/bind.pre-install b/user/bind/bind.pre-install
new file mode 100644
index 000000000..3f7c36847
--- /dev/null
+++ b/user/bind/bind.pre-install
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+addgroup -S named 2>/dev/null
+adduser -S -D -H -h /etc/bind -s /sbin/nologin -G named -g named named 2>/dev/null
+
+exit 0