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/software/libc/manual/html_node/Users-and-Groups.html#Users%20and%20Groups
> 
> I would suggest you get a copy of the book, Advanced
> programming in Unix 
>   Environment (APUE) by Richard Stevens and read it
> first.

Well thanks for such a nice info on using info. well 
the link conatins more info than APUE as i had already

gone thru it. but the problem is all that is given for

executable programs. here i am trying to build library

which contains functions and yes i am calling these 
functions from Java environment using JNI. that where
i 
got in trouble, as i had already done this successfuly

in C by writing a executable with setuid bit set, 
using the setuid and etc. i tried to keep the security

measures also well though not to the extreme. 

i think now i am quite clear abt my problem, as i 
already told that i may be missing sth in the question

as i am just a newbie in this fieled, so please don't
mind for that. 

   

=====
********************************************************************
I would like to remeber what I enjoyed in life NOT what I acheived

Arundeep Singh, India
Ph:- 09415262466
http://www.i-cognition.com

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

_______________________________________________
ilugd mailinglist -- [EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd
Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi 
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to