how to grant some roots to some codes

Support for security such as Firewalls and securing linux
Post Reply
aga-cn
Posts: 17
Joined: 2012/04/13 06:47:21

how to grant some roots to some codes

Post by aga-cn » 2012/05/28 06:06:27

Dear CentOSer,

Recently, we have faced some problems with granting root rights to some parts of our java code. Those codes need to fetch data from NIC, so I need root right to do so.

[code]
int deviceNum = Pcap.findAllDevs(alldevs, errbuf);
[/code]

so do you have any idea how to do that with some non-root account?

many thanks for your help!

aga-cn

Post Reply