First make sure wheel access enabled in visudo
#visudo
## Allows people in group wheel to run all commands
%wheel ALL=(ALL) ALL
#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
0 Comments