lkml.org 
[lkml]   [2011]   [Oct]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe kernel.org status: hints on how to check your machine for intrusion
    From
    Date
    On Fri, 30 Sep 2011 16:59:24 -0700, Greg KH wrote: 
    > 2. Verify that your package signatures match what your package manager thinks
    > they are.

    <snip>

    > To do this on a Debian based system, run the following bash snippet:
    > dpkg -l \*|while read s n rest; do if [ "$s" == "ii" ]; then echo $n;
    > fi; done > ~/tmp.txt
    > for f in `cat ~/tmp.txt`; do debsums -s -a $f; done

    At least since squeeze, debsums defaults to checking all packages, so
    the following is sufficient:
    debsums -as

    It may also be worth checking the output of:
    debsums --list-missing

    Matthew W.S. Bell
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2011-10-13 05:03    [W:0.020 / U:119.860 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site