"truss man" doesn't show *anything*

Matthew Seaman m.seaman at infracaninophile.co.uk
Mon Jun 16 07:08:12 PDT 2003


On Mon, Jun 16, 2003 at 04:59:11AM -0400, Steve Coile wrote:
> I've just installed a new software package that includes manual pages.
> When I try to read the pages with "man -M <path> <page>", I'm told the
> manual page doesn't exist.  When I use "truss man -M <path> <page>",
> truss generates *NO* output.  Is that normal?

man(1) is a SUID executable:

    % ls -la /usr/bin/man 
    -r-sr-xr-x  1 man  wheel  29752 May 23 21:59 /usr/bin/man*

Hence truss(1) and other process tracing software like gdb(1) will
refuse to show you it's inner workings on the grounds of system
security.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- 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-questions/attachments/20030616/72e590a9/attachment.bin


More information about the freebsd-questions mailing list