summaryrefslogtreecommitdiff
path: root/sysutils/user_irix/files/userdel.sh
blob: 3904ead4bf08b3fd1580a3a035b47e51eab4c823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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"