Update create-user.md

This commit is contained in:
2024-08-07 10:07:45 -03:00
committed by GitHub
parent f126adb197
commit a3e76f7afe

View File

@@ -16,6 +16,10 @@ If you need the new user to have administrative privileges, add the user to the
`sudo usermod -aG sudo newusername` `sudo usermod -aG sudo newusername`
This command adds the user to the sudo group, which grants administrative permissions. This command adds the user to the sudo group, which grants administrative permissions.
- Give user permissions for deployments:
`sudo sudo chown -R agala: /var/www/static /var/www/apps`
This command gives the user access to the deployment folders so scp file upload is posible
## 3. Configure SSH Access ## 3. Configure SSH Access
- Switch to the New User: - Switch to the New User: