mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-03-03 10:00:18 +00:00
updated makeuser
This commit is contained in:
3
makeuser
3
makeuser
@@ -48,8 +48,9 @@ case $1 in
|
|||||||
echo "subscribing to mailing list"
|
echo "subscribing to mailing list"
|
||||||
sub_to_list $1
|
sub_to_list $1
|
||||||
|
|
||||||
echo "removing .git from new homedir"
|
echo "removing .git and README.md from new homedir"
|
||||||
sudo rm -rf /home/$1/.git
|
sudo rm -rf /home/$1/.git
|
||||||
|
sudo rm -rf /home/$1/README.md
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user