1 2 3 4 5 6
post_install() { if ! getent passwd stubby &>/dev/null; then groupadd -r stubby useradd -r -g stubby -d / -s /bin/nologin -c stubby stubby fi }