opt/unbound/pre-install

7 lines
188 B
Plaintext
Raw Normal View History

#!/bin/sh
2019-08-27 13:39:13 +02:00
getent group unbound || /usr/sbin/groupadd -r unbound
getent passwd unbound || /usr/sbin/useradd -r -g unbound -d /etc/unbound -s /bin/false unbound
/usr/bin/passwd -l unbound