Skip navigation.
 
mlRe: How Do I Run a Java App with Superuser Privileges?
FROM : Andrew Farmer
DATE : Tue Dec 14 22:09:33 2004

On 13 Dec 2004, at 21:00, William C. McCain wrote:
> Is there a property in Info.plist that I can set to give my Java
> application, packaged as a .app bundle, the superuser privilege?


No.

> Or some other simple way to run a Java app with superuser privileges?


No.

> My application exposes a small, low-function, secure HTTP server (this
> is not the main function of my application, but it is needed to
> support a master/remote interface between machines on a local area
> network in a user's home).  This requires superuser privileges.


No, it doesn't. Use a nonprivileged port (above 1024). An HTTP server
can run on any port - 80 is just the default. An HTTP server running on
port 8080 would be accessed at
   http://localhost:8080/
for example.

Related mailsAuthorDate
mlHow Do I Run a Java App with Superuser Privileges? William C. McCain Dec 14, 06:00
mlRe: How Do I Run a Java App with Superuser Privileges? Guy English Dec 14, 17:35
mlRe: How Do I Run a Java App with Superuser Privileges? Andrew Farmer Dec 14, 22:09
mlRe: How Do I Run a Java App with Superuser Privileges? William C. McCain Dec 14, 23:30