Tarun Dua wrote:
> If all you want is a unpriviged user to run a
> program with 
> root permissions.(Warning: Security implications)
> Then change ownership to root and set the setuid bit
> of the program 
> on root shell as 
> #chown root.root <yourprogram>
> #chmod 4755 <yourprogram>
> 
> And your program should start with setting owner's
> ID while running the
> program to initially start the userland functions.
> 
  well as i replied in other mail this i had done in C
  but i need to call this function from  a java
program
 and there is no mention abt how to use this setuid
and
 other things in java. regarding security i guess 
sometimes one need to access resources like hardware 
and i don't know how one will achieve that without 
doing this as even some linux programs use this
feature



=====
********************************************************************
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