diff --git a/src/content/docs/knowledge-base/server/non-root-user.mdx b/src/content/docs/knowledge-base/server/non-root-user.mdx index 788c300..d5dcf59 100644 --- a/src/content/docs/knowledge-base/server/non-root-user.mdx +++ b/src/content/docs/knowledge-base/server/non-root-user.mdx @@ -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.