Find the answer to your Linux question:
Results 1 to 2 of 2
Hello everyone, I'm trying to control the access in my server. I did an application that can read audit logs and sys logs with the purpose to send me a ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2

    Question How can I start a SH application when someone makes a ssh connection?

    Hello everyone,

    I'm trying to control the access in my server. I did an application that can read audit logs and sys logs with the purpose to send me a report by email with important information about the user. It's a SH file. My problem is start the program when someone makes a ssh connection. Suggestions and advices are welcome.

    Thanks,
    journey

  2. #2
    Just Joined!
    Join Date
    Jun 2010
    Posts
    2
    I found the solution using /etc/profile to startup the script.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...