SOLVED How to find which IP deleted files from cPanel file manager

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
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!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
You can search for the term "filemanager" with a command such as:

Code:
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.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
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!