r/MeshCentral • • Nov 01 '26

MeshAgent Script on disconnect in linux

Hi, I'm trying to find a way to force user logout from linux machine once meshagent disconnect.
I found some reference to agentEventScripts to be used in msh config, but I can't find in officila documentation and/or understand how to use it. Anyone has better option to propose?
Thank you

2 Upvotes

3 comments sorted by

1

u/si458 Nov 01 '26

the is no way of doing this. but also the is no reference to agenteventscripts anywhere in the meshagent or meshcentral sourcecode, so not sure which agent you are running or where you got that reference from?

1

u/lamba84 Nov 02 '26

I'm running meshcentral 1.3.1. I got the reference of agenteventscripts from google, but i think the result were wrong and referring to [meshagent dot com] not agent of meshcentral. I'll work on timeout based on user login. Thanks

1

u/Soap-ster Nov 02 '26

Yeah, that's not part of MeshCentral.