14 lines
134 B
Text
14 lines
134 B
Text
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
USER=$1
|
||
|
|
||
|
usage() {
|
||
|
printf "usage: %s <username>\n"
|
||
|
}
|
||
|
|
||
|
[ $# != 1 ] && usage && exit 1
|
||
|
|
||
|
pveum user delete "${USER}"
|