Update makeuser

email forwarding by default.
This commit is contained in:
deepend-tildeclub 2020-04-15 12:31:05 -06:00 committed by GitHub
parent 9582301381
commit b5d34628fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -54,6 +54,8 @@ case $1 in
echo "adding ssh pubkey"
echo "$3" | sudo tee /home/$1/.ssh/authorized_keys
echo "enabling email forwarding"
echo "$2" | sudo tee /home/$1/.forward
echo "announcing new user on mastodon"
toot "welcome new user ~$1!"