Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 14:04:01 -0700
From:      Joshua Oreman <oremanj@webserver.get-linux.org>
To:        Mykroft Holmes IV <mykroft@explosive.mail.net>
Cc:        questions@freebsd.org
Subject:   Re: Disable PING command
Message-ID:  <20030703210401.GA93458@webserver.get-linux.org>
In-Reply-To: <3F0497BD.3070007@explosive.mail.net>
References:  <Law11-F108KHs7c6NdD00055715@hotmail.com> <3F0497BD.3070007@explosive.mail.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030703210401.GA93458>