#!/bin/sh # if you are working with a directory services path other than the # local machine, put the correct path here. DSPATH="/" # if you need different numeric UID/GID values, set them here NGID="88" # numeric gid for group djbdns RUID="88" # numeric uid for user dnsrun LUID="89" # numeric uid for user dnslog nicl "$DSPATH" create /groups/djbdns gid $NGID nicl "$DSPATH" create /groups/djbdns passwd '*' nicl "$DSPATH" create /users/dnsrun uid $RUID nicl "$DSPATH" create /users/dnsrun gid $NGID nicl "$DSPATH" create /users/dnsrun shell /bin/false nicl "$DSPATH" create /users/dnsrun home /nohome nicl "$DSPATH" create /users/dnsrun realname dnsrun nicl "$DSPATH" create /users/dnsrun passwd '*' nicl "$DSPATH" create /users/dnslog uid $LUID nicl "$DSPATH" create /users/dnslog gid $NGID nicl "$DSPATH" create /users/dnslog shell /bin/false nicl "$DSPATH" create /users/dnslog home /nohome nicl "$DSPATH" create /users/dnslog realname dnslog nicl "$DSPATH" create /users/dnslog passwd '*'