Reset Search
 

 

Article

KB13967 - JSAM displays "You do not have permissions to change hosts files. Please talk to your system administrator"

« Go Back

Information

 
Last Modified Date9/11/2015 7:21 AM
Synopsis
JSAM displays “You do not have permission to change hosts files. Please talk to your system administrator”.
Problem or Goal
After launching JSAM, end user are displayed:

You do not have permission to change hosts files.  Please talk to your system administrator.

 

 

Cause
 This error occurs when the one of the following conditions are true:
  • End user does not have permission to modify the hosts files
  • Another process is utilizing the hosts file which does not allow JSAM to modify the file.
Solution
To resolve this issue, ensure the end user has the correct permission to modify the hosts file.  If the end user has the correct permissions, review the jsamtool.log in the C:\Users\username\AppData\Local\Temp\Low\Juniper Networks\Java Secure Application Manager directory for the following line:

jsamtool.exe jsamTool p8436 t710 dsHostsHelper.cpp:159 - 'DSHostsHelper::CreateHostsfile' failed to create file = 32


If this message is occurring, this would confirm another process is using the host file and not allowing JSAM to modify the host file.  To help determine what process is utilizing the host file, run Process Monitor on the problematic machine.  Once the application or process has been determined, contact the appropriate vendor to help stop this issue from occurring.  If this is not possible, disable automatic host-mapping through the Users > User Roles > Select Role > SAM > Options

Note:  Disabling automatic host-mapping will require the end user to manually modify the host file with the appropriate loopback address and host name so traffic is properly tunneled when JSAM is running.

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