Posibilty to run a script at each successful login

classic Classic list List threaded Threaded
2 messages Options
wla
Reply | Threaded
Open this post in threaded view
|

Posibilty to run a script at each successful login

wla

Hi,

 

Would it be possible to run a script at every successful login?

If a hook exists here and even better variables such as user name, mail address are passed, then for security reasons a mail could be sent to the user at each successful login.

 

Thanks,

Walter

Reply | Threaded
Open this post in threaded view
|

Re: Posibilty to run a script at each successful login

ivanmarcus

I seem to recall similar queries in the past, and a few suggestions around how this might be handled.

It's probably worth a look at the user list archive to see if there's anything that might suit. Here's one thread at least:

http://apache-guacamole-general-user-mailing-list.2363388.n4.nabble.com/Running-bash-script-on-user-login-td5666.html#a5668


On 5/06/2020 9:09 a.m., Walter Laub wrote:

Hi,

�

Would it be possible to run a script at every successful login?

If a hook exists here and even better variables such as user name, mail address are passed, then for security reasons a mail could be sent to the user at each successful login.

�

Thanks,

Walter