You are not logged in.
Pages: 1
Hi there,
I am using Gentoo and want to use a graphical interface to run su and/or sudo. I know there is gnomesu, and Xsu/2 but the dependency list is about 17 other packages I would have to install. I am trying my hardest to not install gnome applications, and was wondering if anyone knew of a nice alternative to Gnomesu/Xsu.
I suppose I could write a small app in Python/Pyxfce but I was wondering if anyone had any better alternatives?
Thanks,
Lavacube
Offline
gksu (gksudo) is what i use - http://www.nongnu.org/gksu/
Offline
gksu (gksudo) is what i use - http://www.nongnu.org/gksu/
Wow, only 3 dependencies in Gentoo. Installed the Gnome Keyring, but that is no big deal for me. Works very nicely. Thanks. :-)
Offline
np
Offline
Hi there,
I coded a quick one in bash with gtkdialog. Gtkdialog can be compiled without too many dependencies:
#! /bin/bash
exec=$@
export MAIN_DIALOG='<vbox>
<entry>
<variable>password</variable>
<visible>password</visible>
</entry>
<hbox>
<button ok></button>
</hbox>
</vbox>'
out=`gtkdialog --program=MAIN_DIALOG`
eval $out
echo $password | sudo -S $exec
Offline
Hi there,
I coded a quick one in bash with gtkdialog. Gtkdialog can be compiled without too many dependencies:
Does that avoid the issues with using sudo for GUI apps, such as writing configuration files in the user's home directory instead of root's and not correctly handling the ownership of .Xauthority that gksu/gksudo takes care of?
Regards,
MDM
Offline
Pages: 1
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 533.81 KiB (Peak: 534.66 KiB) ]