updated makeuser

This commit is contained in:
deepend 2021-12-12 08:12:09 +00:00
parent 03986da8de
commit 34277a0416
1 changed files with 2 additions and 1 deletions

View File

@ -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