Breaking

How to grant sudo access to normal users on Red Hat




Step1 : Go to /etc/sudoers.d/ directory

             # cd /etc/sudoers.d/

Step2: Create a file and add the following content. Change the username with yours

             # vi admincool
                               
                            admincool ALL=(ALL) NOPASSWD:ALL

Step3: Save the file






No comments:

Powered by Blogger.