A guide on how to use a server with a non-root user
/etc/sudoers
# Allow the non-root user to run commands as root without a password non-root-user ALL=(ALL) NOPASSWD: ALL