You are not logged in.
I used to be able to run things like
systemctl start httpd.servicefor example, and I would get a prompt to enter my own (non-root) password for authentication,
but now, I don't know why, but it only offers root:
~$ systemctl start httpd.service
==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ====
Authentication is required to start 'httpd.service'.
Authenticating as: root
Password:
==== AUTHENTICATION COMPLETE ====How can I change it back to allow normal users to authenticate?
Note that my user does have sudo privileges, and is part of the wheel group.
Edit: I think this issue might have something to do with Polkit, but I'm not sure, because I don't recall editing any configuration files.
Last edited by strupo (2018-06-07 00:42:30)
Offline
I finally fixed it.
The problem was that I removed my user from all other groups by accident when I tried to add it to a new one, basically, I did
usermod -G group userinstead of
usermod -aG group user.
Adding my user back to the other groups (namely, wheel) fixed this issue. I'm marking this as solved.
Offline