mirror of
https://github.com/tildeclub/makeuser.git
synced 2026-10-25 06:45:38 +00:00
updated makeuser
This commit is contained in:
1 parent
03986da8de
commit
34277a0416
1 file changed
+2
-1
@@ -48,8 +48,9 @@ case $1 in
|
||||
echo "subscribing to mailing list"
|
||||
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/README.md
|
||||
|
||||
echo "adding ssh pubkey"
|
||||
echo "$3" | sudo tee /home/$1/.ssh/authorized_keys
|
||||
|
||||
Reference in new issue
Block a user