Hier werden die Unterschiede zwischen zwei Versionen gezeigt.
Beide Seiten, vorherige Überarbeitung Vorherige Überarbeitung | Letzte Überarbeitung Beide Seiten, nächste Überarbeitung | ||
admin_grundlagen:polkit [2019/12/23 09:10] ingo_wichmann |
admin_grundlagen:polkit [2019/12/23 09:16] ingo_wichmann |
||
---|---|---|---|
Zeile 8: | Zeile 8: | ||
Root-Rechte für graphisches Programm graphisch erfragen: (( 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 | Root-Rechte für graphisches Programm graphisch erfragen: (( 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 | ||
)) | )) | ||
+ | //getestet mit Wayland// | ||
xhost +SI:localuser:root | xhost +SI:localuser:root | ||
pkexec env DISPLAY=$DISPLAY gedit /etc/shadow | pkexec env DISPLAY=$DISPLAY gedit /etc/shadow |