On 2019-07-26 02:34:29 David C. Rankin wrote:
On 07/25/2019 08:58 PM, J Leslie Turriff wrote:
Because OpenSuSE, the distro I use, has traditionally used both su and sudo for system administration, many (most?) OpenSuSE users are not averse to using either or both of them; the distro seems to expect that su will be used for administration.
:) yep, I've run SuSE since 7.0-Pro, when Mandrake begin to implode. On
openSuSE you can also configure /etc/pam.d/su to allow member of the wheel group to su without a password -- that comes in hand for me (since I'm the only member of wheel) You can add:
auth sufficient pam_rootok.so auth sufficient pam_wheel.so trust use_uid
Take effect immediately (presuming you are a member of wheel -- which in 15.0 or 15.1 opensuse no longer creates by default unless a server install is selected -- just create it manually, and I gave it the traditional GID of 10, but in 15.0 it has a random GID.
Hm. The first auth was already set, but after adding the second it wants me to enter the root password; is that the way it works for you? If so, it doesn't seem to provide a benefit to me. :-)
Leslie