7 lines
188 B
Bash
7 lines
188 B
Bash
#!/bin/sh
|
|
|
|
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
|
|
|