Re: [Gambas-user] Executing commands as root

2009-08-05 Thread David Villalobos Cambronero
Hey Thanks to all, very helpful Regards -- David - Original Message From: Steven revimmo To: mailing list for gambas users Sent: Wednesday, August 5, 2009 9:30:46 AM Subject: Re: [Gambas-user] Executing commands as root I used this : SHELL "kdesu " & C

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Steven revimmo
I used this : SHELL "kdesu " & Chr(34) & "/usr/sbin/lpadmin -p request_ps -v 'pipe:/bin/cat - > " & User.Home & "/request/work/tempfile.ps' -m PostscriptColor.ppd -E" & Chr(34) WAIT (to install a printer) cheers, steven Le mercredi 05 août 2009 à 17:07 +0200, Stefano Palmeri a écrit : >

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Benoît Minisini
> hey David, > > I'm using Debian Lenny 5.0.2 and Gambas 2.14 > > for me this command works fine > > SHELL "gksudo gnome-commander" > > but I think it's Gnome specific > > I hope it helps > > Regards > Dimitris > By using the INPUT/OUTPUT option of SHELL, you can run "su" or "sudo" inside a termi

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Stefano Palmeri
Il mercoledì 5 agosto 2009 15:45:24 David Villalobos Cambronero ha scritto: > Hi all, > > Time ago, someone asked about executing commands as root and pass the root > password to SHELL, does anybody remember the solution? > > Regards > > > -- > David > > He was me. My error was I opened the shell

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Rolf-Werner Eilert
Joshua Higgins schrieb: > Not sure its possible. > > 2009/8/5 David Villalobos Cambronero > >> Hi all, >> >> Time ago, someone asked about executing commands as root and pass the root >> password to SHELL, does anybody remember the solution? >> >> Regards >> >> >> -- >> David >> Maybe sudo

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Dimitris Anogiatis
hey David, I'm using Debian Lenny 5.0.2 and Gambas 2.14 for me this command works fine SHELL "gksudo gnome-commander" but I think it's Gnome specific I hope it helps Regards Dimitris On Wed, Aug 5, 2009 at 8:50 AM, Joshua Higgins wrote: > Not sure its possible. > > 2009/8/5 David Villal

Re: [Gambas-user] Executing commands as root

2009-08-05 Thread Joshua Higgins
Not sure its possible. 2009/8/5 David Villalobos Cambronero > Hi all, > > Time ago, someone asked about executing commands as root and pass the root > password to SHELL, does anybody remember the solution? > > Regards > > > -- > David > > > > > > > --