pkgsrc/sysutils/user_irix/files/userdel.sh
cheusov 0c4d93a6de This implements a subset of useradd(8)/groupadd(8) functionality on
IRIX that is sufficient for pkgsrc use.
2011-05-07 15:43:13 +00:00

13 lines
161 B
Bash
Executable file

#!/bin/sh
show_usage () {
echo "usage: userdel user" >&2
exit 1
}
if test $# -ne 1; then
show_usage
exit 1
fi
eval "/usr/sbin/passmgmt -d $1"