sudo permission to user
Steps to Create a New Sudo User. 1  Log in to your server as the root user. ssh root@server_ip_address. 2  Use the adduser command to add a new user to your system. Be sure to replace username with the user that you want to create. adduser username. 3  Use the usermod command to add the user to the sudo group. usermod -aG sudo username.