Hallo!
Wie kann ich ein Linux-Programm root-Rechte anfordern lassen, sodass der User über ein grafisches Eingabefeld nach dem Root-Passwort gefragt wird? Gibt es dazu einen API-Befehl, oder muss man das selbst machen?
(Ich meine ein Eingabefeld, wie es z.B. ubuntu anzeigt, wenn man Synaptic startet)
Root-Rechte anfordern
-
- Beiträge: 688
- Registriert: Mi 3. Okt 2007, 21:00
- OS, Lazarus, FPC: Linux (L 0.9.29 FPC 2.4.2)
- CPU-Target: x86_64
Root-Rechte anfordern
Zuletzt geändert von Targion am Fr 21. Dez 2007, 11:28, insgesamt 1-mal geändert.
-
- Beiträge: 958
- Registriert: Mo 11. Sep 2006, 22:56
Kommt auf die Desktop Umgebung an.
Unter KDE gibts die "Programm als anderer Benutzer ausführen" Option.
( http://lukeplant.me.uk/articles.php?id=2" onclick="window.open(this.href);return false; )
Unter Gnome gibts sicher was ähnliches.
( http://fedoranews.org/contributors/matt ... /nautilus/" onclick="window.open(this.href);return false; )
Unter KDE gibts die "Programm als anderer Benutzer ausführen" Option.
( http://lukeplant.me.uk/articles.php?id=2" onclick="window.open(this.href);return false; )
Unter Gnome gibts sicher was ähnliches.
( http://fedoranews.org/contributors/matt ... /nautilus/" onclick="window.open(this.href);return false; )