In Foglight 5.5.8, a user created with only the "General Access" role was able to execute the fglcmd.sh script command remotely (script:run) but not be able to log into the console.
In Foglight 5.6.5, that user is no longer able to execute the shell script.
The error message that is returned when the script is executed looks like:
Error : User is not authorized to run script:run command
In 5.6+ servers the user normally has to have the Admin role in order to be allowed to run scripts via fglcmd.]sh|bat]. However, this restriction can be disabled by (re-)starting the server with the following java system property (specified on fms cmd. line or in server.config in the VM options section):
-Dserver.scripting.trusted=true
In 6.0+ servers the ability to run scripts via fglcmd.]sh|bat] is controlled by a dedicated permission: "accessScripting", which can be grated to specific users and/or roles.
In 5.6+ servers the user normally has to have the Admin role in order to be allowed to run scripts via fglcmd.]sh|bat]. However, this restriction can be disabled by (re-)starting the server with the following java system property (specified on fms cmd. line or in server.config in the VM options section):
-Dserver.scripting.trusted=true
In 6.0+ servers the ability to run scripts via fglcmd.]sh|bat] is controlled by a dedicated permission: "accessScripting", which can be grated to specific users and/or roles.