SIGKILL="-KILL"
TEMPDIRS="/tmp /var/tmp"
THISCMD=`/usr/bin/basename $0`
+PWCMD="${PWCMD:-/usr/sbin/pw}"
# err msg
# Display $msg on stderr.
}
! verbose && echo -n " passwd"
verbose && echo -n " from the system:"
- pw userdel -n $login $pw_rswitch
+ ${PWCMD} userdel -n $login $pw_rswitch
verbose && echo ' Done.'
}
fi
# Disable any further attempts to log into this account
- pw 2>/dev/null lock $_user
+ ${PWCMD} 2>/dev/null lock $_user
# Remove crontab, mail spool, etc. Then obliterate the user from
# the passwd and group database.