Updated scripts

This commit is contained in:
Douglas Barone 2023-02-16 10:42:07 -04:00
parent 7ee48f98d9
commit 97acf514b3
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ samba-tool group addmembers alunos $USERNAME
echo "Creating home directory for user $USERNAME"
mkdir /home/$USERNAME
echo "Setting permissions for home directory"
chmod 700 /home/$USERNAME/ -R
chmod 711 /home/$USERNAME/ -R
chown $USERNAME:'domain users' /home/$USERNAME/ -R
# Set user quota

View File

@ -31,6 +31,6 @@ while IFS="" read -r p || [ -n "$p" ]; do
fi
echo "---"
./pdc-add-user-professor.sh $USERNAME "$NAME"
./pdc-add-user-servidor.sh $USERNAME "$NAME"
done <$file