How to make sudoer in linux user

First make sure wheel access enabled in visudo

#visudo

## Allows people in group wheel to run all commands
%wheel  ALL=(ALL)       ALL

//them add the respective user into wheel group

[root@boobalan-aadhardigital ~]# usermod -aG wheel boobalan

#usermod -aG wheel boobalan

//now check your user

[boobalan@boobalan-aadhardigital ~]$ groups
boobalan wheel

//then after you can run any root command with prior sudo with their own user password itself

Post a Comment

0 Comments