#!/bin/sh # check for fax group or add one getent group fax || /usr/sbin/groupadd -g 102 fax # check for fax user or add one getent passwd fax || /usr/sbin/useradd -g fax -u 102 -d /var/empty -s /bin/false -c "Fax User" fax # lock the account /usr/bin/passwd -l jabber