pam: action on (unsuccessful) login
I know how to execute an action on login, by adding a line to
/etc/profile. But that only gets executed, if the login was successful. I
would like to have action executed even when login fails. For example run
a script script.sh.
I suspect, this can be set up in pam, but I have no idea where to start.
No comments:
Post a Comment