• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting root access programatically  RSS feed

 
David McCombs
Ranch Hand
Posts: 212
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My program which uses the Jpcap library needs root access to gain access to the network interfaces. Is there a way to do this in code, so the program can drop root access when it doesn't need it?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!