Frische Installation von Mageia x86_64 mit KDE
Versuche ich, unter KDE einen Befehl auszuführen, der root-Rechte benötigt (mcc, Installation des extension packs von VBox), kommt das Abfragefenster für das root-PW. Gebe ich dieses ein, wird es abgewiesen.
- Code: Alles auswählen
[letzter@localhost ~]$ mcc
Too late to run INIT block at /usr/lib/perl5/vendor_perl/5.22.2/x86_64-linux-thread-multi/Glib/Object/Introspection.pm line 257.
Error executing command as another user: Not authorized
This incident has been reported.
[letzter@localhost ~]$
Ich bin der Meinung, dass dies erst passierte, als ich dem Benutzer zusätzliche Gruppen hinzugefügt habe.
- Code: Alles auswählen
[letzter@localhost ~]$ ps -ef|grep -v grep|grep -iE "polkit|policykit"
polkitd 3193 1 0 01:27 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
letzter 3226 3205 0 01:27 ? 00:00:00 /usr/libexec/polkit-kde-authentication-agent-1
root 14192 3226 0 01:46 ? 00:00:00 /usr/lib/polkit-1/polkit-agent-helper-1 letzter
root 14622 3226 0 01:51 ? 00:00:00 /usr/lib/polkit-1/polkit-agent-helper-1 letzter
- Code: Alles auswählen
[letzter@localhost ~]$ loginctl show-session $XDG_SESSION_ID
Id=c2
User=1000
Name=letzter
Timestamp=So 2017-12-03 01:27:38 CET
TimestampMonotonic=23538320
VTNr=1
Seat=seat0
Display=:0
Remote=no
Service=sddm
Desktop=KDE
Scope=session-c2.scope
Leader=3001
Audit=0
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no
- Code: Alles auswählen
[letzter@localhost ~]$ pkexec whoami
Error executing command as another user: Not authorized
This incident has been reported.
- Code: Alles auswählen
[letzter@localhost ~]$ echo $DISPLAY
:0
[letzter@localhost ~]$ xauth list
localhost.localdomain/unix:0 MIT-MAGIC-COOKIE-1 cf95d81b215a06ba8125da1180cdd8c9
- Code: Alles auswählen
[root@localhost ~]# systemctl status polkit.service -al -n50
● polkit.service - Authorization Manager
Loaded: loaded (/usr/lib/systemd/system/polkit.service; static; vendor preset: enabled)
Active: active (running) since So 2017-12-03 01:27:39 CET; 33min ago
Docs: man:polkit(8)
Main PID: 3193 (polkitd)
CGroup: /system.slice/polkit.service
└─3193 /usr/lib/polkit-1/polkitd --no-debug
Dez 03 01:27:39 localhost.localdomain systemd[1]: Starting Authorization Manager...
Dez 03 01:27:39 localhost.localdomain polkitd[3193]: Started polkitd version 0.113
Dez 03 01:27:39 localhost.localdomain polkitd[3193]: Loading rules from directory /etc/polkit-1/rules.d
Dez 03 01:27:39 localhost.localdomain polkitd[3193]: Loading rules from directory /usr/share/polkit-1/rules.d
Dez 03 01:27:39 localhost.localdomain polkitd[3193]: Finished loading, compiling and executing 3 rules
Dez 03 01:27:39 localhost.localdomain systemd[1]: Started Authorization Manager.
Dez 03 01:27:39 localhost.localdomain polkitd[3193]: Acquired the name org.freedesktop.PolicyKit1 on the system bus
Dez 03 01:27:39 localhost.localdomain polkitd[3193]: Registered Authentication Agent for unix-session:c2 (system bus name :1.28 [/usr/libexec/polkit-kde-authentication-agent-1], object path /org/kde/PolicyKit1/Auth
Dez 03 01:43:15 localhost.localdomain polkitd[3193]: Operator of unix-session:c2 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:13874:92446 [/usr/lib64/virtu
Dez 03 01:45:12 localhost.localdomain polkitd[3193]: Operator of unix-session:c2 FAILED to authenticate to gain authorization for action org.mageia.drakconf.pkexec.run for unix-process:14087:106111 [/usr/bin/perl /
Dez 03 01:46:26 localhost.localdomain polkitd[3193]: Operator of unix-session:c2 FAILED to authenticate to gain authorization for action org.mageia.drakconf.pkexec.run for unix-process:14182:113298 [/usr/bin/perl /
Dez 03 02:00:05 localhost.localdomain polkitd[3193]: Operator of unix-session:c2 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:15021:186812 [/bin/bash] (own
- Code: Alles auswählen
[root@localhost ~]# hostnamectl
Static hostname: localhost.localdomain
Icon name: computer-desktop
Chassis: desktop
Machine ID: 3c61830f656740a6ae4519b89062ed04
Boot ID: c4b4241cec8248988637cf7cd18fbcfd
Operating System: Mageia 6
Kernel: Linux 4.9.56-desktop-1.mga6
Architecture: x86-64
[root@localhost ~]#
Welchen Haken muss ich setzen, damit