Linux add user to sudo

Linux

run visudo to open the /etc/sudoers file and change below just below to root user with NOPASSWD to directly login to root.

## Allow root to run any commands anywhere
root    ALL=(ALL)       ALL
rsahoo  ALL=(ALL)       NOPASSWD: ALL

 

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply