mirror of
https://github.com/LukeHagar/documentation-coolify.git
synced 2025-12-07 04:19:39 +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:
|
You need to add the following lines to the `/etc/sudoers` file:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Allow the non-root user to run commands as root without a password
|
# Allow the your-non-root-user to run commands as root without a password
|
||||||
non-root-user ALL=(ALL) NOPASSWD: ALL
|
your-non-root-user ALL=(ALL) NOPASSWD: ALL
|
||||||
```
|
```
|
||||||
|
|
||||||
This will allow the non-root user to any command as root without a password.
|
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">
|
<Aside type="caution">
|
||||||
This is not the most secure way to set up a non-root user, but we will improve
|
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