How to Use a Server with a Non-root User
Non-root user
A guide on how to use a server with a non-root user
You could have a server with a non-root user that will manage your resources instead of the root user.
For this to work, you need to set up the server correctly.
Requirements
The non-root user needs to have the SSH key added to the server.
Sudos permissions for the non-root user.
Sudo permissions
You need to add the following lines to the /etc/sudoers
file:
This will allow the non-root user to any command as root without a password.
Last updated