Menu commands to open applications as root - how to?
Terry
teaman at exemail.com.au
Thu Nov 30 15:03:15 CET 2006
Patrick Wiseman wrote:
> On Thu, 30 Nov 2006 at 3:17pm, Terry wrote:
>
> :I am trying to work out how to launch an application as root from a menu
> :shortcut.
> :
> :I've tried using a script with a command line beginning with sudo but
> :that doesn't work.
>
> I've done this to launch aptitude as root from a menu item:
>
> xterm -T aptitude -e "su -c aptitude"
>
> It prompts me for the password and then runs aptitude. Of course, it's an
> app which runs in a terminal anyway, so that might not be quite what
> you're looking for.
>
> Patrick
Thanks. That opens up some other possiblities.
--
Xfce on PCLinuxOS, OOo 2.0.2 (en_GB).
Direct mail to teaman is not opened; if necessary, email realmail.
If you're seeking, check out http://www.rci.org.au
More information about the Xfce
mailing list