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!

maldet inotify and error_log

Discussion in 'Security' started by upsforum, Nov 21, 2013.

  1. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    470
    Likes Received:
    0
    Trophy Points:
    166
    I installed maldet with inotify (--monitor option) and log, but the problem is that inotify register also the edited on error_log for all accounts:

    /home/user/public_html/error_log MODIFY 21 Nov 19:26:46
    /home/user/public_html/error_log MODIFY 21 Nov 19:26:46
    /home/user/public_html/error_log MODIFY 21 Nov 19:26:46
    /home/user/public_html/error_log MODIFY 21 Nov 19:26:49
    /home/user/public_html/error_log MODIFY 21 Nov 19:26:49

    is possible exclude this notify?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. LDHosting

    LDHosting Well-Known Member

    Joined:
    Jan 19, 2008
    Messages:
    93
    Likes Received:
    2
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    The maldet ignore file for inotify is at /usr/local/maldetect/ignore_inotify
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,323
    Likes Received:
    1,851
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    You may want to contact the support team for this third-party application if you are not able to determine the solution through user feedback.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. upsforum

    upsforum Well-Known Member

    Joined:
    Jul 27, 2005
    Messages:
    470
    Likes Received:
    0
    Trophy Points:
    166
    I added in ignore_inotify but not work

    ^/var/tmp/mysql.sock$
    ^/tmp/mysql.sock$
    ^/var/cache/buagent/md0.cache.data$
    ^/var/tmp/#sql_.*\.MYD$
    ^/tmp/#sql_.*\.MYD$
    ^/home/.*/public_html/error_log$ <------ my row

    - - - Updated - - -

    now is correct:

    ^/home/.*/public_html/.*error_log$

    for any error_log ... in root and all sub directory

    thank you
     
    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