su -c 'vi /etc/sudoers'
I uncommented the line shown below to give members of the wheel group permission to run all commands as su.
#%wheel ALL=(ALL) ALL
so that it looks like
%wheel ALL=(ALL) ALL
Finally, I added myself to the wheel group (my username is joel).
su -c '/usr/sbin/usermod -a -G wheel joel'
No comments:
Post a Comment