mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-03-03 10:00:18 +00:00
Update makeuser
email forwarding by default.
This commit is contained in:
committed by
GitHub
parent
9582301381
commit
b5d34628fb
4
makeuser
4
makeuser
@@ -53,7 +53,9 @@ 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!"
|
||||||
|
|||||||
Reference in New Issue
Block a user