A
A
atpshnik2021-04-06 17:22:36
tomcat
atpshnik, 2021-04-06 17:22:36

How to configure monitoring of Tomcat service running under local system account?

There is a server on Windows. On it, under the Local System account, the Tomcat service is running.
I'm trying to set up monitoring java. Without authorization, everything works fine, with authorization, an error is written in the logs:
Password file read access must be restricted: path_to_file\jmxremote.password

I tried to set read and read+execute rights for all local accounts starting with local and SYSTEM. The error persists.
How is it correct and possible to configure authorization for a service running under the Local System account?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
atpshnik, 2021-04-06
@atpshnik

I figured it out, it turned out to set the necessary rights through the console

icacls jmxremote.password /setowner SYSTEM
icacls jmxremote.password /grant SYSTEM:F
icacls jmxremote.password /inheritance:r

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question