4 if [[ -z "$USER" ]]; then
5 echo "Usage: $0 username"
8 if [[ "$(whoami)" != "root" ]]; then
9 echo "Please get root first"
13 adduser "$USER" --disabled-password
14 sudo adduser "$USER" tuer
17 echo -n "I will now open nano, please paste the SSH key in there! "
19 nano .ssh/authorized_keys