SUSE – Setting a user up for SUDO

Last Updated: 11/24/2026

Unlike Ubuntu for SUSE (SP15 SP6 & SP15 SP7) you can do the following.

Create a regular user as usual. For SUSE we can add the user to the wheel group

usermod -aG wheel uxauthtest

Next use id and group to check and make sure they are a member of that group

% id uxauthtest
uid=1000(uxauthtest) gid=100(users) groups=496(wheel),100(users)

If you are going for extra style points and love redundancy….

% groups
uxauthtest : users wheel

For SUSE we have a few more hurdles to go through

visudo

Modify the file to reflect.

%wheel ALL=(ALL:ALL) ALL

NOTE: by default “sudo” will ask the user to use THIER password for authentication. If you need to change it so that it prompts for the target “accounts” password

Defaults:uxauthtest !targetpw