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