From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 14:00:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ADEF37B401 for ; Thu, 3 Jul 2003 14:00:56 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 0707843F93 for ; Thu, 3 Jul 2003 14:00:55 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 93481 invoked by uid 1001); 3 Jul 2003 21:04:01 -0000 Date: Thu, 3 Jul 2003 14:04:01 -0700 From: Joshua Oreman To: Mykroft Holmes IV Message-ID: <20030703210401.GA93458@webserver.get-linux.org> References: <3F0497BD.3070007@explosive.mail.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F0497BD.3070007@explosive.mail.net> User-Agent: Mutt/1.4.1i cc: questions@freebsd.org Subject: Re: Disable PING command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2003 21:00:56 -0000 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"