Mid 2020, I re-installed a Raspberry Pi 2 box based on OpenSuSE Tumbleweed.
To my susprise the yast2 module sudo could not write the configuration.
It appeared that /etc/sudoers
had become readonly and a new /etc/sudoers.d
was created.
You can use visudo
to edit files in that directory without potentially losing changes in /etc/sudoers
during upgrades. I think that is a good move.
To bad the yast module failed because of it.
More on visudo
and the /etc/sudoers.d
directory:
- [Wayback] Visudo Manual
- [Wayback] ubuntu – Why does the system have /etc/sudoers.d? How should I edit it? – Super User
- [Wayback] permissions – adding local content in /etc/sudoers.d/ instead of directly modifying sodoers file via visudo – Ask Ubuntu
–jeroen