parent
9582301381
commit
b5d34628fb
2
makeuser
2
makeuser
|
@ -54,6 +54,8 @@ case $1 in
|
||||||
echo "adding ssh pubkey"
|
echo "adding ssh pubkey"
|
||||||
echo "$3" | sudo tee /home/$1/.ssh/authorized_keys
|
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"
|
echo "announcing new user on mastodon"
|
||||||
toot "welcome new user ~$1!"
|
toot "welcome new user ~$1!"
|
||||||
|
|
Loading…
Reference in New Issue