I developed a visual front end (using GTK I think, although I have no idea what is the meaning of GTK) for collect data(like list of files to compress and the name of the compressed file) and run TarBall in batch doing a call to bash. I used a Lazarus ( www.lazarus.freepascal.org
) a visual language that runs under linux, Mac OS and windows.
My doubt is: Since I call my application from an icon in the desktop logged in with my own user, how can I run my application as super user without log in as root? Similar to hit the SU command in a console window and run TarBall as root.
If I need to unpack a tar, tar.gz or tar.bz2 in a directory like /usr/lib I need to do it as super user(normally root).
I hope I explained my trouble in a right way since my english is weak. Please, if you have doubts ask me.
Greetings from Sao Paulo - Brazil