Fixed the chmod for recovery

This commit is contained in:
Ubergeek 2020-01-31 22:35:01 -05:00
parent f1a8ddbe96
commit b38c5462fa
1 changed files with 1 additions and 1 deletions

View File

@ -39,6 +39,6 @@ add_account_recovery()
{
sudo mkdir -p --mode=700 /home/$1/.thunix
echo echo $2 | sudo tee /home/$1/.thunix/recovery
sudo chmod 600 > /home/$1/.thunix/recovery
sudo chmod 600 /home/$1/.thunix/recovery
sudo chown -R $1 /home/$1/.thunix
}