Tomorrows Technology Today

How To

Add a User To sudo

on redhat, as root user, add the user to the wheel group.

usermod -aG wheel your_username

logout, login for setting to take effect

on ubuntu, its similar, add them to sudo group

usermod -aG sudo username

for more complex manual changes use visudo which is preferred over edting /etc/sudoers directly.

Leave a Reply

Your email address will not be published. Required fields are marked *