file delete Discussion about all type of Linux Server Management.

4 posts   •   Page 1 of 1
amit
 
Posts: 25
Joined: Fri Sep 20, 2013 6:07 pm

file delete

by amit » Mon Oct 07, 2013 8:13 pm

Hi,

Is there any way to watch on file if its deleted automatically or manully by user? I am using cpanel server. I want to know from where it is deleted filemanger, ftp, ssh with time and date.
I need to configure log for this.

Rony
 
Posts: 96
Joined: Tue Mar 17, 2015 1:06 pm

Re: file delete

by Rony » Wed Jun 10, 2015 12:55 pm

Hi,

You can use log watch. to monitor your system.
Thanks,
Rony K,
[Oracle DBA 10g]

onliveserver
 
Posts: 9
Joined: Fri Jun 23, 2017 3:59 pm
Location: India

Re: file delete

by onliveserver » Thu Jan 18, 2018 4:47 pm

Hello,
There are multi-option to find any activites happed on server via log messges.
1. /var/log/messages - to check if the files were deleted using FTP
2. /usr/local/cpanel/logs/error_log - To check if the files were deleted using file manager
3. Check the audit log in /var/log/, it will report all the actions done from the server.
4. find /home/user -mtime -3
5. /usr/local/cpanel/logs/access_log - to cPanel access log in case the files/folders were deleted via cPanel's File Manager.

These are some commd and directory where we can find the unauthorised activity.
Onlive Server is offering world class Dedicated Server, Cloud VPS Server and web Hosting also.

RobertCarr
 
Posts: 1
Joined: Wed Nov 11, 2020 10:27 am

Re: file delete

by RobertCarr » Wed Nov 11, 2020 11:12 am

inliver wrote:Hello,
There are multi-option to find any activites happed on server via log messges.
1. /var/log/messages - to check if the files were deleted using FTP
2. /usr/local/cpanel/logs/error_log - To check if the files were deleted using file manager
3. Check the audit log in /var/log/, it will report all the actions done from the server.
4. find /home/user -mtime -3
5. /usr/local/cpanel/logs/access_log - to cPanel access log in case the files/folders were deleted via cPanel's File Manager.

These are some commd and directory where we can find the unauthorised activity.


You can see for yourself that working with File Manager to delete or restore your files and folders is technically quite easy. However, please bear in mind the importance of backup and don’t forget to double-check if the files you are deleting contain essential data.

4 posts   •   Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests

It is currently Sat Dec 05, 2020 8:34 pm