weird problem with chkrootkit and checksums

Peter Pentchev roam at ringlet.net
Wed Aug 27 01:46:47 PDT 2003


On Wed, Aug 27, 2003 at 09:57:22AM +0200, patpro wrote:
> > % file /bin/ls
> > /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), for
> > FreeBSD 4.8, statically linked, stripped
> > % file /usr/obj/usr/src/bin/ls/ls
> > /usr/obj/usr/src/bin/ls/ls: ELF 32-bit LSB executable, Intel 80386, version 1
> > (FreeBSD), for FreeBSD 4.8, statically linked, not stripped
> 
> 
> ok thanx, so the "make installworld" does not only copy binaries to their
> destination ?

'make installworld' uses the install(1) program to copy files cleanly
(including overwriting files in use, copying files across filesystems,
preserving or modifying ownership and permissions as necessary).
For programs, 'make installworld' uses the -s flag to install(1) to
strip the debugging information, unless you have not explicitly told
it not to by setting the STRIP variable to an empty value:

# make STRIP='' installworld

..or a bit simpler although error-prone if you're not used to it:

# make STRIP= installworld

(note the space after 'STRIP=')

Thus, yes, 'make installworld' may modify executable files during
the installation.

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence was in the past tense.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-security/attachments/20030827/5450d84f/attachment.bin


More information about the freebsd-security mailing list