KSystemLog seems to require the root password, using my user password (I am part of the wheel group) does not seem to work. How can I use KSystemLog without the actual root password
looks like the easiest way would be to simply run
sudo -EH ksystemlog
If someone has a better way I’d love to hear it
I just bumped into this too.
I very rarely use the GUI method of viewing logs but today I tried and got met with a “wrong password”. I tried my actual root user password and that worked.
I have no memory of needing to use the actual root users password before.
If I try to open f.ex timeshift, my regular user password (part of wheel) is enough.
Inspecting the logs with KsystemLog xD
# Running KsystemLog using user password
su pam_unix(su:auth): authentication failure; logname=bedna uid=1000 euid=0 tty=/dev/pts/4 ruser=bedna rhost= user=root
# Running KsystemLog using root user password
su pam_unix(su:session): session opened for user root(uid=0) by bedna(uid=1000)
# Running Timeshift
pkexec pam_unix(polkit-1:session): session opened for user root(uid=0) by bedna(uid=1000)
# sudo su (user password)
su pam_unix(su:session): session opened for user root(uid=0) by bedna(uid=1000)
# su root (root user password)
su pam_unix(su:session): session opened for user root(uid=0) by bedna(uid=0)
Something has changed because I have no recollection of ever needing to use my root password.
Switched from polkit to su?
Bump on this, is this intended behavior?
If so, why?
Are there other KDE applications that require root and does not accept sudo password?
Is this a KDE thing or a distro thing?