I'm not sure if it would cover your scenario exactly but I have a small
python script that tails the catalina.out log file in order to send a
magic packet to a specific machine when a specific user logs in. To me
it was a simple way to achieve what I needed, and it's been working
reliably for a year or more, although I'm sure there are more elegant
ways to do this.
That said it would be trivial to alter it to do other things such as run
another script or direct command. I did post it to the group some time
ago but can do so again if it's of use (or MIA!).
On 20/05/2019 11:51 p.m., purplebadger wrote:
does anyone have a simple mechanism or advice how to run a bash script when a
user logs into Guac?
We are running Duo authentication, the idea is to start a specific AWS
instance when a specific user logs into Guac - ideally the script would run
after the first part of the login process (ie pre-MFA) that way, by the time
DUO authentication has been navigated, the instance would /potentially/ have
had time to fully startup.
any examples or suggestions welcomed. Thanks
--
Sent from:
http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]