How do i add a user to the sudoers list and can this be harmfull?
Hi! I want my user to be able to use certain commands that require administrative priviledges, but i dont want the user account to be an administer account. So i want to sudo some commands, but the user needs to be in a sudoers list..
as root run:
usermod -aG wheel sigurdsk
WARNING: The
wheel
group effectively gives the user FULL root access (via sudo) - if that is appropriate, then add users as required - otherwise use the method described by @aeperezt.