10 lines
144 B
Bash
Executable File
10 lines
144 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# check for arguments
|
|
if [[ $# -ne 1 || -z "$1" ]]; then
|
|
echo "USAGE: $0 username" 1>&2
|
|
exit 1
|
|
fi
|
|
|
|
userdel -r "$1"
|