JPrice_230829
Jan 06, 2016Nimbostratus
Execute a shell script prior to full login
Anyone know of a way to initiate a script during ssh login? I have a requirement to provide users with their failed login count, from a remote authentication server, upon successful logon. I have a ldapsearch script that executes once a user logins in but since they just successfully authenticated to the authentication server their badPwdCount is always zero.
I've been looking at ssh_config but I can't find a way to make it initiate a shell script.