Run agent command (action) under User session

Started by VSS, June 22, 2017, 01:37:41 PM

Previous topic - Next topic

VSS

Hello,

All exe started from agent Action will be running under account of Agent service (system by default).

Is it somehow possible to start exe from agent Action under current user account?

P.S. as we know there is special nxsagent.exe to run under user session. Maybe there is possibility to use it.

Victor Kirhenshtein

Hi,

currently it's not possible. And what do you mean by "current user" - it is current to what?

Best regards,
Victor

Tursiops

Hi,

I assume VSS is referring to whoever is logged in to the Console session at the time.

The ability to actually authenticate and run actions as any given user, independent of it they are currently logged on or not (which would require providing and/or securely storing credentials), would be nice, too. :)

Cheers

VSS

Quote from: Tursiops on July 21, 2017, 01:52:52 AM
Hi,

I assume VSS is referring to whoever is logged in to the Console session at the time.

Cheers

Yes you are right! We need to have ability to start process the same user as nxsagent.exe.

hmjvaline

Although the operation of the action is executed under the system account by default under the agent, 
it is invisible under the Windows session of the user currently logged in, 
which is a great advantage for background system management, 
but it is not necessary for the operation that needs to be known to the user at the front desk. It is not easy to achieve, such as the agent's "send user support application notification", 
other front-end operations such as opening a browser to connect to a website, 
and the execution of programs that require GUI display.

It would make netxms more complete if ACTION had an execution option for now logged in user session.