robmcom
asked on
Sudoers file and sudo
I am a newbie and using red hat 8.0 , i was recently trying out sudo commands, and as the root user i changed the /etc/sudoers file by uncommenting the line.
%wheel ALL=(All) NOPASSWD:ALL
I then added one imaginary user to the wheel group to see what they could do, however when i commented out the %wheel ALL=(All) NOPASSWD:ALL in the sudoers file and removed the user from the wheel group i found that all the users could still use sudo commands, can you please tell me what could have gone wrong and how to fix it.
%wheel ALL=(All) NOPASSWD:ALL
I then added one imaginary user to the wheel group to see what they could do, however when i commented out the %wheel ALL=(All) NOPASSWD:ALL in the sudoers file and removed the user from the wheel group i found that all the users could still use sudo commands, can you please tell me what could have gone wrong and how to fix it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This old question needs to be finalized -- accept an answer, split points, or get a refund. For information on your options, please click here-> http:/help/closing.jsp#1
EXPERTS:
Post your closing recommendations! No comment means you don't care.