Sunday, January 10, 2016

RHL7 adding users as sudoers

how to grant sudo privilege to new user names as 'mynewuser'


for that we need to carry out the following steps;

become root: su -
then type the command: visudo
search for the following  #allow root to run any command anywhere
add the following by inserting:

mynewuser ALL=(ALL) ALL
save and quit:wq

No comments:

Post a Comment