wheel group not working for sudo
Posted: 2018/11/09 23:17:36
This works fine in CentOS 7 but in CentOS 6 adding a user to the "wheel" group doesn't allow that user to ecalate to root.
I'm using the centos 6 qcow2 image provided by the centos team.
Code: Select all
[centos@salt6master ~]$ grep wheel /etc/group
wheel:x:10:centos
[centos@salt6master ~]$ sudo ls
[sudo] password for centos:
centos is not in the sudoers file. This incident will be reported.