1 2 3 4 5 6
#!/bin/sh groupadd -r named 2>/dev/null useradd -c named -s /sbin/nologin -g named -m -d /etc/bind -k /etc/skel -r named 2>/dev/null exit 0