Skip to main content

Send email when Cpanel User login

Comments

3 comments

  • cPanelLauren
    Hello, As noted in the CSF configuration instructions above LF_CPANEL_ALERT_ACTION this should only be set if you have a script to run in conjunction with it, and it should not be set to "all" : [QUOTE] If a LF_CPANEL_ALERT event is triggered, then if the following contains the path to a script, it will run the script and passed the ip and username and the DNS IP lookup result as 3 arguments The action script must have the execute bit and interpreter (shebang) set
    For LF_CPANEL_ALERT_USERS - this should NOT be root if you want ALL user logins to be notified. This should be set to all This is also indicated in their instructions above the setting: This is a comma separated list of accounts to send alerts for. To send an alert for all accounts set this to "all"
    1
  • Marwan El-kahky
    It's really funny that I was looking for descriptions below each feature not above it :-D. Thank you it worked!!!
    0
  • SamuelM
    Hello @Marwan El-kahky, I'm happy to hear Lauren pointed you in the right direction! I will go ahead and mark this thread as solved. Best regards
    0

Please sign in to leave a comment.