I am new to programming on Linux, I just searched for Setuid() and found that it sets the effective userid of my program to the userid I specify. So can I just call setuid() in my program when I need superuser privileges and have those privileges. To what part of my program are those privileges confined to?
Thanks Shivaprasad On Wed, Jun 25, 2008 at 11:23 AM, James Cameron <[EMAIL PROTECTED]> wrote: > So it is root UID you need for a user-space program, not a kernel > driver, I see. Have you considered setuid? > > -- > James Cameron mailto:[EMAIL PROTECTED] http://quozl.netrek.org/ > _______________________________________________ > Devel mailing list > Devel@lists.laptop.org > http://lists.laptop.org/listinfo/devel >
_______________________________________________ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel