[Gambas-user] su command

Demosthenes Koptsis demosthenesk at ...626...
Fri Apr 11 20:42:12 CEST 2008


Finally i found my way.

i will use kdesu.


On 4/11/08, Demosthenes Koptsis <demosthenesk at ...626...> wrote:
> 1) Is it good idea to add this line to sudoers?
>
> ALL    ALL=(%root)    NOPASSWD:   /home/user/tests.gambas
>
> 2) In Madriva 2008 i can run
> "sudo /home/user/tests.gambas"
>
> but on Suse 10.2 i get the following error
> "/usr/bin/env: gbr2: No such file or directory"
>
> Is these a Suse issue or a Gambas2?
>
> Thanks in advance.
>
>
> On 4/10/08, Rob <sourceforge-raindog2 at ...94...> wrote:
> > On Thursday 10 April 2008 13:15, Demosthenes Koptsis wrote:
> > >   'in order to run a su command we create a temp file named
> > > tmpFile0 in /tmp directory
> > >   'with the root password writed in it.
> >
> > This is a really terrible idea, security-wise, and I hope you don't
> > distribute this software too much because it will cause a race
> > condition that would easily be exploited by malware.  You should set
> > up /etc/sudoers and use sudo.
> >
> > As for getting the password with "0</tmp/filename", maybe SuSE's su
> > implementation reads the password from stdin and Mandriva's forces
> > the use of a tty, which wouldn't work with redirection like that.
> >
> > Rob
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> > Don't miss this year's exciting event. There's still time to save $100.
> > Use priority code J8TL2D2.
> >
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
>
>
> --
>
> Γεια χαρα σε όλους!!!
>
> Regards,
>
> Demosthenes Koptsis
>


-- 

Γεια χαρα σε όλους!!!

Regards,

Demosthenes Koptsis


More information about the User mailing list