NetXMS Support Forum

English Support => General Support => Topic started by: VSS on June 22, 2017, 01:37:41 PM

Title: Run agent command (action) under User session
Post by: VSS on June 22, 2017, 01:37:41 PM
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.
Title: Re: Run agent command (action) under User session
Post by: Victor Kirhenshtein on July 20, 2017, 04:26:17 PM
Hi,

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

Best regards,
Victor
Title: Re: Run agent command (action) under User session
Post by: 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.

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
Title: Re: Run agent command (action) under User session
Post by: VSS on July 26, 2017, 10:26:02 AM
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.