I have an ssh server with multiple users, How to run a logon script one time when a user logs on, or until the user provides meaningful feedback?
I have a user who needs to sign off on a document before it goes to press. His contact info has changed, but he will login to the ssh server at some point, usually once a week. so, how can I run a script at login to inform him we need his confirmation, denial, or a waiving of intellectual property rights? when he logs in?
I do not want him to be able to do anything else on my server, until he responds in one way or another. But after we get a response, I do not want to ask him ever again.
How Can i do this?