lucas
asked Feb 06 2017
Answer
To enable wheel group, uncomment the following line in /etc/pam.d/su file.
# Uncomment the following line to require a user to be in the "wheel" group.
auth required pam_wheel.so use_uid
Once this is done, add the user to wheel group using useradd or usermod or gpasswd commands.....
Now the users which is added to wheel group alone can access root....!!!
jagannatharumugam
asked Feb 06 2017
edited Oct 05 2018
How to enable wheel group and add users
Hi, i have created two users and one user is added to wheel group.... but both users is now able to access root... So how to enable wheel group and restrict the access.???