Merge pull request #23 from a0m0rajab/main

clarifying the non-root-user command
This commit is contained in:
Andras Bacsai
2024-09-28 22:58:09 +02:00
committed by GitHub

View File

@@ -26,11 +26,12 @@ For this to work, you need to set up the server correctly.
You need to add the following lines to the `/etc/sudoers` file:
```bash
# Allow the non-root user to run commands as root without a password
non-root-user ALL=(ALL) NOPASSWD: ALL
# Allow the your-non-root-user to run commands as root without a password
your-non-root-user ALL=(ALL) NOPASSWD: ALL
```
This will allow the non-root user to any command as root without a password.
Note: you need to replace "your-non-root-user" with your user.
<Aside type="caution">
This is not the most secure way to set up a non-root user, but we will improve