> I get this error when i run chkrootkit any ideas???
>
> Checking `lkm'... ./chkrootkit: [: integer expression expected before -gt
> not tested
Yup... it's a minor gotcha!
The chkrootkit expects to see only numbers in kernel versions. The Cobalt
version number (e.g. 2.2.16C24_III) gives it grief. Ideally, it shouldn't
ever check for a version number if it is Linux, but...
If you want of fix it, change the following line (line 175-ish in version
0.34):
----------- lkm()
----------- {
- remove -- #if [ \( "${SYSTEM}" = "Linux" -o \( "${SYSTEM}" =
"FreeBSD" -a \
- remove -- # ${V} -gt 43 \) \) -a "${ROOTDIR}" = "/" ]; then
--- add --- if [ \( "${SYSTEM}" = "Linux" \) -a "${ROOTDIR}" = "/" ];
then
Basically you are removing the check for FreeBSD's version number (${V} -gt
43) -irrelevant on a Cobalt stuff.
Cheers!
Pete.
_____________
Peter Baldwin
Point Clark Networks
http://www.pointclark.net
_______________________________________________
cobalt-security mailing list
[EMAIL PROTECTED]
http://list.cobalt.com/mailman/listinfo/cobalt-security