Skip to main content

How to find which IP deleted files from cPanel file manager

Comments

6 comments

  • User Avatar
    SysSachin
    Hello, You have to check cpanel logs in the file /usr/log/cpanel/logs access_log
    0
  • User Avatar
    cPanelMichael
    Hello, Yes, as mentioned, File Manager activity is logged to: /usr/local/cpanel/logs/access_log You may also want to consider voting for the following feature request: Built-in filemanager "transfer log" Thanks!
    0
  • User Avatar
    Sarath Kumar R
    Can you please let me know whether there is any keyword to search.
    Hello, Yes, as mentioned, File Manager activity is logged to: /usr/local/cpanel/logs/access_log You may also want to consider voting for the following feature request: Built-in filemanager "transfer log" Thanks!

    Can you please let me know whether there is any keyword to search.
    0
  • User Avatar
    cPanelMichael
    You can search for the term "filemanager" with a command such as:
    grep filemanager /usr/local/cpanel/logs/access_log
    However, there's no specific output to let you know if a file was deleted. Thank you.
    0
  • User Avatar
    Sarath Kumar R
    Grepping file manager won't help much so guys anyone had any other suggestion.
    0
  • User Avatar
    cPanelMichael
    Grepping file manager won't help much so guys anyone had any other suggestion.

    You could disable File Manager for the package assigned to the account as part of a custom feature list via "WHM >> Packages >> Edit A Package" and "WHM >> Packages >> Feature Manager". This would require the users to remove files via FTP (assuming SSH access is disabled), which you could then monitor all activity via the /var/log/messages log file. Beyond that, I encourage you to open a feature request for advanced File Manager logging via: Submit A Feature Request Thanks!
    0

Please sign in to leave a comment.