Re: Checksums and file sizes

From: Bela Lubkin (belal_at_sco.com)
Date: 10/19/03


Date: Sat, 18 Oct 2003 23:57:22 GMT
To: scomsc@xenitec.ca

Don Williams wrote:

> "Jeff Liebermann" <jeffl@comix.santa-cruz.ca.us> wrote in message
> news:0hp2pvsodh46p9b50m1ck442a6b3vjm5pn@4ax.com...

> > What problem are you trying to solve?
> >
> > Just because the checksum database doesn't agree with
> > custom -V strict
> > doesn't mean your system is toast, compromised, or rootkited. It
> > means that SCO did not do a particularly exemplary job of maintaining
> > the checksums for updates, fixes, patches, and security updates. I
> > usually look at the output and manually decide what to fix. The usual
> > broken symlinks occupy most of my time. These are tricky as they may
> > be two versions of the same program or two divergent copies of the
> > same configuration file. I look at the permissions and ownership, and
> > only tweak files that are obviously wrong or insecure. Anything with
> > SUID and GUID gets my immediate attention. Other than that, I do
> > nothing and leave the rest alone.
> >
> > >So, what to do? I think the list it is comparing to is out of date but
> > >don't know how to fix it.
> >
> > Do you want to fix the checksum list or the files? What are you
> > trying to fix?
> >
> > >The system works fine,
> >
> > If it works, leave it alone. If it's not broken, you're not trying
> > hard enough.

> Jeff, at some point I would like to fix the list since the files seem O.K.
> and the system is running.
>
> As I said above, I think the list is out of date because of file changes.
> That's why I was asking where the list is stored and how it could be edited.
>
> For now everything is great, as indicated above so I'll leave things as they
> are.

Let me try to explain this again...

`custom -V strict` compares your system's _modified_ files to the
_original_ files shipped with the distribution. It's _supposed_ to
point out files that you've changed. You could use this if, for
instance, you were going to install a completely new system and wanted
to manually copy over (or compare) the files you had changed on the old
system. It is the wrong tool to use if you want to ask "which files
have unexpected (anomalous) changes?"

`custom -V thorough` is the command you're looking for. Even so, do not
blindly try to follow its output as if it were 100% correct. Every
release of OpenServer 5.0.x has had a number of symlink breaks, files
which were mistakenly listed as non-changable when in fact they were
changable, files whose ownership or permissions are naturally changable,
and things like that. The "thorough" output is a reasonable guide to
look through. It is not gospel.

>Bela<



Relevant Pages

  • Re: Checksums and file sizes
    ... > Just because the checksum database doesn't agree with ... > usually look at the output and manually decide what to fix. ... > nothing and leave the rest alone. ... I also have the Joe editor and it's much like Wordstar but I ...
    (comp.unix.sco.misc)
  • pull request: wireless-2.6 2010-01-12
    ... fix skb buffering issue" from Johannes. ... One other change of note is an EEPROM checksum change for Atheros ... thanks for the git advice after the last pull request! ...
    (Linux-Kernel)
  • Re: Checksums and file sizes
    ... All the others are either checksum ... usually look at the output and manually decide what to fix. ... I also have the Joe editor and it's much like Wordstar but I somehow ... >got into the habit of using vedit for programs, ...
    (comp.unix.sco.misc)
  • Re: Red Baron Troubleshooting Question
    ... Do a checksum on the bad PROM, ... When dealing with these boards its best to fix all of the ...
    (rec.games.video.arcade.collecting)
  • Re: cp with verify?
    ... Michael Tosch wrote: ... checksum differed it would rewrite the block (at least I believe it ... end-users to do a "verify" on the file or batches of files copied. ... cmp compares two files. ...
    (comp.unix.admin)