Hi,
I’m with Tumbleweed for ages, but since an update in 2019 I can no longer perform sudo and any other actions requiring root privileges in my KDE desktop session.
Especially, my user password works only once when starting the KDE session, but on resume after suspending my notebook, it is no longer accepted.
Hence, I help my self with a root login on the text console, doing, loginctl and the like.
Trying sudo give me the error
sudo: Wechsel zur root-GID ist nicht möglich: Die Operation ist nicht erlaubt.
sudo: Audit-Plugin sudoers_audit konnte nicht initialisiert werden
My hypothesis is that some system configuration missed a certain update. But no Tumbleweed update since then did heal that.
Help would be appreciated.
Is the OP using the word “root” to attempt the login? Some folks think they still need to enter the word “su” for a root login on the GUI login screen.
.
. Sidenote: if I need a root login upon a fresh boot, I always switch to console one and drop to runlevel 3 (networking, no GUI). Then I login as “root”, then do a startx … that’s usually because there’s some weird issue with KDE Plasma and I want to watch the GUI startup output.
You haven’t been able to do any administration in all this time, and you’re asking now? Interesting lol
I remember a few years back there was an issue caused by a change in how “sudo” worked? From what I remember everyone’s sudo stopped working because it changed from being group policy based, to being password based. I fixed it by manually adding my main user to the wheel group and fixed it that way, essentially returning it to the old behaviour. I don’t know if this is the same thing you’re experiencing.
Not anymore, no. Tbh I prefer the old system. ngl when that change happened and I was locked out of using sudo at all I would have been lost had it not been for my prior experience in setting up FreeBSD
Oops, accidentally I tried to reply to this from within GMail. So, regarding updating, the short answer is yes, all the time.
Please mind that the actual error regarding the Audit-plugin may hint to the cause of my problem.
Since Tumbleweed is a rolling release, I’m used to practicing pulling distribution updates (aka ‘zypper dup’) regularly (also, for quite a long time updated kernels did actually not boot to the graphical login, so I had to stick to a 6.2.19 kernel (also protecting it from being purged) and for many months, and I updated often, always hoping this situation will eventually heal, and actually it did with a kernel release a few months ago).