[Gambas-user] Access global variable from other .class

Benoît Minisini gambas at ...1...
Mon Jun 18 19:22:16 CEST 2012


Le 18/06/2012 19:15, Jussi Lahtinen a écrit :
>> Maybe it would be possible to write a graphical su entirely in Gambas?
>> The first difficulty I see is how to know if we must use 'su' or 'sudo'
>> to run the command...
>>
>>
> I have never run into need for su, I always use sudo.
> Example in Ubuntu as default, you cannot do "su root".
> So su is useful only if you need to change to some other user, but the
> keyword in Gambas is RunAsRoot.
>
> Is there something where sudo would fail?
>
> Jussi

Some systems do not use sudo. Maybe they find it unsecure.

-- 
Benoît Minisini




More information about the User mailing list