Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

file change monitor

Status
Not open for further replies.

adamsd

Technical User
Jul 28, 2002
37
AU
Hi,

Is there any monitoring tool to check for any modifications or changes to any files eg: host file or password file. If anyone knows of anything it will be of great help.

Many thanks
Dexter
 
hi,

why don't you write a simple script which checks if the file has been modified , if so send an alert or an email
you can use the find comand with -newer option

i.e. find /etc -name passwd -newer filename -exec run_script {} \;

filename gets run when your check file script gets run and
touches a file with date stamp and if the passwd file has greater timestamp than your file filename then send an alert/email otherwise do nothing

HTH
 
Hi HTH,

Can you please help me here as my knowledge of scripts is very limited.
Thanks
Dex
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top