Its so simple …
What audit means – Check who made changes to a file like read or write !!
A daemon named auditd is in the linux kernel which is responsible for auditining the predefined files according to the rules defined in /etc/audit.rules ,but it can be customized for desired files .
It’s installed by default , if not then.
#yum install audit
Start the daemon if not started
#service auditd start
Make the daemon to start while system boots ,
#chkconfig auditd on
Customize for desired files to be audited
auditctl : The command used for controlling the kernelโs audit system to get status, and add or delete rules into kernel audit system. Set a a watch on the desired file to be audited as :
# auditctl -w /usr/sbin/crond -p rwxa -k cron-daemon
Where
-w : optioon used to watch the file /usr/sbin/crond
-p : set permission to watch the file ,here w – write , r – read , x – execute , a- append
-k : set a filter key (a string upto 31 chars long) used to uniquely identify the audit records produced by watch
I almost never leave a response, but after reading
a few of the comments on Wanna audit your Files in Linux Systems !
! – Part 1 | FOSS -THE FUTURE IS HERE. I actually do have a couple
of questions for you if it’s allright. Could it be just me or does it appear like a few of the comments look as if they are written by brain dead individuals? ๐ And, if you are posting on additional places, I’d like to keep
up with everything new you have to post. Could you post a
list of every one of all your social community sites like your twitter feed, Facebook page or linkedin profile?
Thanks for your personal marvelous posting! I genuinely enjoyed reading it,
you happen to be a great author.I will make certain to bookmark your blog and may come back at some point.
I want to encourage you to ultimately continue
your great writing, have a nice morning!
ใใใ ใๆใใชใใใฐใชใใชใ ใฎ ใใใซ ่ฃ ้ฃพใในใใฉ ใชใใใใช
ใทใซใจใใ ใใพใใ ๅฟ ่ฆ ไปปๆใ ใใฃใผใใใฐใฎไฝฟ็จใฏใพใ
ๅฅ ไปฃๆฟ ใซ ๅฅชใ ๆ่ฒใ็งใฏ ใใใซใใใใใใ ใชใณใผใซ ใใใ ๅณใใ ๆ้ใ
ใจใใฆใใใฆใใ ไธปๅผต ๅ ่ฟฐใฎใใณใผใ ่ฒกๅธใใใใจใใงใใพใ ็บ่ฆ ๆฌๅฝใซ ใใใถใ ใใใใๅ ดๆ
ใใใ ๆฅใ