On Tue, Mar 07, 2006 at 08:58:40AM -0500, Pat Regan wrote:
> Alan Porter wrote:
> > WA Brown wrote:
> > 
> >> Someone said that the server should use tcp wrappers. How can I find 
> >> out if it does?
> > 
> > 
> > There's no magic command for this.  But this trick works.
> > 
> > # strings -f yourbinaryfile | grep hosts_access
> > 
> > If the binary has been compiled against libwrap.a, you'll
> > see at least one line of output with a matched string.
> 
> That will probably get the job done, but it would probably be better to do:
> 
> ldd <binary> | grep libwrap
> 
> Pat

Unless it's statically linked.

Owen

-- 
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/

Reply via email to