Disable PING command

Joshua Oreman oremanj at webserver.get-linux.org
Thu Jul 3 14:00:56 PDT 2003


On Thu, Jul 03, 2003 at 04:53:17PM -0400 or thereabouts, Mykroft Holmes IV wrote:
> 
> 
> Nucking Futs wrote:
> 
> >How would I go about disabling users command to ping?  If need be I 
> >would be willing to just disable the ping command altogether as a last 
> >resort.
> >
> 
> chmod 700 /usr/bin/ping (or /bin/ping) can't remember where ping lives.

/sbin/ping

Or you could just chmod u-s it... it needs SU privleges so if its not SUID,
uses can't run it. At all.

-- Josh

> 
> Adam
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list