SuperUser permission for the Driver??

shivaprasad javali jbsp72 at gmail.com
Wed Jun 25 02:01:00 EDT 2008


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 <quozl at us.netrek.org> 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:quozl at us.netrek.org     http://quozl.netrek.org/
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.laptop.org/pipermail/devel/attachments/20080625/3f15c5b0/attachment.html>


More information about the Devel mailing list