mirror of
https://github.com/LukeHagar/documentation-coolify.git
synced 2025-12-06 12:27:48 +00:00
Merge pull request #23 from a0m0rajab/main
clarifying the non-root-user command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user