Using JNI to run root-priviledged tasks

John Varghese <[email protected]> Mon, 21 Jun 2004 11:46:39 +0530
Newsgroups gmane.comp.java.linux.general
Message-ID <[email protected]>
  Hello all
I am using Linux 7.2 and j2sdk1.4.1

I would like to use JNI to perform some root-priviledged tasks
say like adding users to system, restarting some daemons,....

Can anyone pls suggest how this can be done
Regards John