Reset Search
 

 

Article

KB3115 - Why does Java Secure Application Manager (JSAM) on macOS require admin privileges?

« Go Back

Information

 
Last Modified Date10/23/2018 9:50 PM
Synopsis
This article provides information why JSAM requires admin privileges.
Problem or Goal
Cause
Solution
  1. To edit host file
  2. To bind to a port below 1024 (only for macOS)
  3. If there are more than two hosts lisetning on the same port then JSAM will create a different loopback addresses for each host entry in JSAM on the same port. In the macOS, if you want to create a loopback IP other than 127.0.0.1, admin privilege is required.
  4. The user needs to modify the java.policy file. The java.policy file needs to be modified to allow JSAM to port forward. This file can only be modified by root therefore the user needs to change user to root to be able to modify the file. The permissions that need to be added to the java.policy are grant { permission java.security.AllPermission; permission java.net.SocketPermission "127.0.0.1:1-", "accept, connect, listen, resolve"; permission java.net.SocketPermission "localhost:1-", "accept, connect, listen, resolve"; };
Related Links
Attachment 1 
Created ByData Deployment

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255