mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-11-05 08:15:53 +00:00
Update makeuser
email forwarding by default.
This commit is contained in:
1 parent
9582301381
commit
b5d34628fb
1 file changed
+3
-1
@@ -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