Steve Juranich <[EMAIL PROTECTED]> writes:

> On Wed, 27 Sep 2000, Alvin Oga wrote:
> 
> > check the binaries tooo...
> >     top, ps, ls, last, w, who, netstat, passwd, login, etc...
> > 
> 
> Please remember that you're speaking to a recent convert from Mandrake.
> There, all I would have to do would be 'rpm -V `which top`' and rpm would
> tell me if the md5sum had been changed from the original package.  Does dpkg
> have a similar funcitonality? I couldn't find mention of it in the man page.
> 
> Right now I'm fiddling with md5sum, but if I understand correctly, that only
> tells me the md5sum of the current file, it can't verify that the md5 sum is
> "correct" (goes back to the "it's smart, not magic" argument).

bash$ man debsums
bash$ dpkg --search `which top`
procps: /usr/bin/top
bash$ debsums -s procps

Any output could be a problem.  Of course this assumes that the listed
md5sums have not been tampered with.  They are in /var/lib/dpkg/info.

-- 
Olaf Meeuwissen       Epson Kowa Corporation, Research and Development

Reply via email to