Linuxhotel Wiki

Wie ging das nochmal?

Benutzer-Werkzeuge

Webseiten-Werkzeuge


admin_grundlagen:polkit

Dies ist eine alte Version des Dokuments!


vor 2012 / Version 0.105 : PolicyKit

Debian Paket: policykit-1

Root-Rechte für Konsolenprogramm graphisch erfragen:

pkexec vim /etc/shadow

Root-Rechte für graphisches Programm graphisch erfragen: 1)

xhost +SI:localuser:root
pkexec env DISPLAY=$DISPLAY gedit /etc/shadow
xhost -si:localuser:root
1)
Emmanuele Bassi, GNOME developer: „there are no *real*, substantiated, technological reasons why anybody should run a GUI application as root. By running GUI applications as an admin user you're literally running millions of lines of code that have not been audited properly to run under elevated privileges; you're also running code that will touch files inside your $HOME and may change their ownership on the file system; connect, via IPC, to even more running code, etc. You're opening up a massive, gaping security hole […].https://bugzilla.gnome.org//show_bug.cgi?id=772875#c5
admin_grundlagen/polkit.1577092245.txt.gz · Zuletzt geändert: 2019/12/23 09:10 von ingo_wichmann