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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I am trying to perform a daily main

Status
Not open for further replies.

dsp88

Technical User
Sep 11, 2001
2
US
I am trying to perform a daily maintenance routine for corrupted files. Can anyone help me????????

Thanks in advance!!!!
 
Need more info ... what exactly do you need to do?

Greg.
 
The filesystem check 'fsck' checks for corrupted filesystems, but you wouldn't normally run this unless you suspected there was a problem. But fsck wouldn't necessarily find corrupted files.
 
Do the files exhibit any particular form of corruption? E.g. could the corruption be grepped for in a script?
 
Nothing specific, I just want to be able to monitor corrupted files and fix them if necessary on a daily basis. I cannot find a unified way to do this

Thanks
 
a) which specific files corrupted

or

b) corrupted in what way

do you mean modified by a virus, caused by hard disk malfunction, caused by malicious users, caused by memory leaks, caused by mistreatment of hardware in general, or files modified by root whilst running, or etc. ...

are you worried about your users/files put there by users, or something wrong with solaris?
 
Do you perhaps mean something like COPS ( or Tripwire (
COPS is a UNIX security status checker. Essentially what it does is check various files and software configurations to see if they have been compromised (edited to plant a trojan horse or back door), and checks to see that files have the appropriate modes and permissions set to maintain the integrity of your security level (make sure that your file permissions don't leave themselves wide open to attack/access).

The current version of COPS (1.04) makes a limited attempt to detect bugs that are posted in CERT advisories. Also, it has an option to generate a limited script that can correct various security problems that are discovered.


Tripwire for Servers software monitors file changes, verifies integrity, and notifies you of any violations of data at rest on network servers. Tripwire for Servers monitors all file changes—regardless of whether they originated inside or outside of your organization. Tripwire for Servers also identifies changes to system attributes including file size, access flags, write time, and more.
Ayjaycee - the "A" in TandA

One by one, the penguins steal my sanity.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top