How do I run another program as root? lazarus / 1-Linux ---------------------------------------------------------------------- xircon · 2010-03-13 20:37 Running Mandriva cooker, trying to write some little utility programs to add to my cairo dock. Tried (based on one of the examples in the wiki): Code: [Select]Program RootKonsole; uses classes, unix; var S: longint; begin   S := fpsystem ('kdesu konsole'); end.    But it doesn't run anything.  Any ideas? ---------------------------------------------------------------------- xircon · 2010-03-13 20:47 Got it!! Needs the path to kdesu. Code: [Select]Program RootKonsole; uses classes, unix; var S: longint; begin   S := fpsystem ('/usr/lib/kde4/libexec/kdesu konsole'); end.