[Gambas-user] How to authenticate and switch to root user from within gambas application?

Jose J. Rodriguez joe1962 at ...626...
Tue Oct 3 18:21:28 CEST 2006


On 10/2/06, Jose J. Rodriguez <joe1962 at ...626...> wrote:
> Anybody have an idea how to switch to the root user from within a
> Gambas application? There would be a dialog asking for the password,
> of course, but how to authenticate and switch to running as root
> afterwards?
>

I've checked the gksu source code and it execs "su". When I try to
EXEC or SHELL it in Gambas however, I get "su: must be run from a
terminal" in the Gambas console.

Regards,
Joe1962




More information about the User mailing list