Special sudo considerations for SUSE and OpenSUSE
If you’ve ever worked with any kind of SUSE machine, you may have been puzzled by the fact that it asks for the root user’s password, rather than your own password, when you perform a sudo
command. That’s because SUSE has a whole different way of doing business with sudo
.
When you install a SUSE distro, you’ll see a user creation screen that looks similar to the one that you’ve seen on the RHEL-type distros.
Figure 2.2: The OpenSUSE installer
However, when you check the Use this password for system administrator box, it doesn’t add your user account to the wheel
group as the RHEL-type distros do. Instead, it automatically assigns the same password that you created for yourself to the root user account. So, you and the root user will both have the same password.
When you do sudo visudo
on a SUSE machine, you’ll see these two lines that you don’t see on any...