How to add wheel user in linux
How to add wheel user in linux
Make sure is there any entry in /etc/group like as wheel:x:10:root
/etc/pam.d directory, and edit the file su.
Find these lines in that file like as follow
# Uncomment the following line to require a user to be in the “wheel” group.
#auth required pam_wheel.so use_uid
Edit the sudorer configuration file with visudo
Uncomment the following (colored) entry
# Uncomment to allow people in group wheel to run all commands
# %wheel ALL=(ALL) ALL
This will allow anyone in the wheel group to execute commands using sudo
Comments
Post a Comment