Re: [ilugd] Re: Re: giving root privileges to a function

2004-02-25 Thread Raj Shekhar
arundeep singh wrote: 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 am not a Java hacker, so please excuse my ignorance. If you need to access a hardwar

Re: [ilugd] Re: Re: giving root privileges to a function

2004-02-25 Thread arundeep singh
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 > #chmod 4755 > > And your program should start wi

[ilugd] Re: Re: giving root privileges to a function

2004-02-25 Thread Tarun Dua
arundeep singh wrote: > i want to do it something like X Server of linux in > user space access the harware system without having > root permissions. there is something like setuid bit > kind of thing. but even after reading some books i > can't figure out how to use it in my case. if u could > tak