Re: [ilugd] giving root privileges to a function

2004-02-25 Thread arundeep singh
Raj Shekhar wrote: > Have you looked at the "seteuid" documentation or > the libc manual ? Use > the info program to read the section (by using the > command info libc > "Users and groups" ) ,and especially the section > "How Change Persona". > You can see it on line at > http://www.gnu.org/sof

Re: [ilugd] giving root privileges to a function

2004-02-25 Thread Raj Shekhar
arundeep singh wrote: hello all i am trying to build a library that include some user access functions, but those functions make calls to few system level functions that need root priviliges. hoe could i do that. Have you looked at the "seteuid" documentation or the libc manual ? Use the info pr

[ilugd] giving root privileges to a function

2004-02-25 Thread arundeep singh
hello all i am trying to build a library that include some user access functions, but those functions make calls to few system level functions that need root priviliges. hoe could i do that. like my code is int myfunction(int, int){ return systemfunction(int,int); } i had build the library th