{"id":11065,"date":"2021-12-08T23:59:07","date_gmt":"2021-12-08T20:59:07","guid":{"rendered":"https:\/\/kifarunix.com\/?p=11065"},"modified":"2024-03-18T07:52:38","modified_gmt":"2024-03-18T04:52:38","slug":"find-out-who-edited-files-in-linux","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/find-out-who-edited-files-in-linux\/","title":{"rendered":"Find out who Edited Files in Linux"},"content":{"rendered":"\n

In this tutorial, you will learn how to find out who edited files in Linux. Linux provides user space tools for security auditing called auditd<\/a><\/code><\/strong> (Audit daemon). auditd keeps track of all the changes happening on the system and generate logs that can be analyzed so as to get an insight into system security posture. This include finding out who edit what files at what specific time.<\/p>\n\n\n\n

Finding out who Edited Files in Linux<\/h2>\n\n\n\n

There is no easy way of finding out who made changes to what files in Linux. However, auditd makes this process a simple one.<\/p>\n\n\n\n

Install Audit Packages in Linux<\/h3>\n\n\n\n

To begin with, install audit packages in Linux.<\/p>\n\n\n\n

On RHEL-based distribution:<\/p>\n\n\n\n

yum install audit -y<\/code><\/pre>\n\n\n\n

On Debian-based distros;<\/p>\n\n\n\n

apt install auditd -y<\/code><\/pre>\n\n\n\n

Audit User-space Tools<\/h3>\n\n\n\n

Audit Package ships with different user-space tools with different functionalities. These include:<\/p>\n\n\n\n