0

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.???

lucas
asked Feb 5, 2017
1 Answer
0

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....!!!

View More
jagannatharumugam
answered Feb 6, 2017
Your Answer
||||
x
 
100:0