Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Enable email alert when wheel group user logs in?

Discussion in 'Security' started by sadasan, Jun 8, 2019.

  1. sadasan

    sadasan Active Member

    Joined:
    Feb 10, 2015
    Messages:
    27
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Root Administrator
    Hello,

    I had csf plug in installed and added a wheel user "test(just example)" from WHM.

    I configured the server to send an email alert when the user "test" succeeds to login as a root.

    It works as follows.
    Log in to the server by user "test" first, then su - to root.

    I tried, however, the server sent the email alert when only root login succeeds, it is too late.

    I want that the server sends the alert email when a wheel user of "test" succeeds to login, then I could know that a hacker broke a user password, but they had not succeeded to log in by root yet.

    To enable the email alert when server login succeeds in user level, where may I configure of csf?

    Any advice would be appreciated.

    Thank you.
     
  2. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,466
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hello @sadasan

    CSF/LFD offers a LF_SSH_EMAIL_ALERT which as described in the configuration file is as follows:
    LF_SU_EMAIL_ALERT would also notify whether the attempt was successful or not:

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice