On Wed, 28 Jul 2010 02:02:08 +0200 Krisztián Nagy <[email protected]> wrote:
> Hi Lazarus list, > > I've got a simple question. I'm writing a little app with lazarus for linux > which executes some terminal commands through fpSystem(). > I need superuser rights for this so my question is that how can I acquire > them in a lazarus app (in a visual way)? In other apps here the screen fades > a bit and a dialog appears asking for the password (this is from the > OS/display manager and not from the app itself). Where do I find the API for > this? > (I can workaround the issue in some ugly ways but I would be pleased to find > the clear solution) > I'm using ubuntu 10.04 with gnome. > Thanks in advance! Maybe gksudo can help. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
