Date: Fri, 9 Feb 1996 23:51:53 -0500 (EST) From: Marc Ramirez <mrami@mramirez.sy.yale.edu> To: Chad Shackley <zoogy@cris.com> Cc: "Garrett A. Wollman" <wollman@lcs.mit.edu>, questions@FreeBSD.ORG Subject: Re: ping Message-ID: <Pine.BSF.3.91.960209234917.18217C-100000@mramirez.sy.yale.edu> In-Reply-To: <199602092229.RAA14062@fs1.cris.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 9 Feb 1996, Chad Shackley wrote: > >> What do I need to change to allow users to ping? > > > >You need to unbreak the permissions on the ping binary. > > > >-r-sr-xr-x 1 root bin 114688 Feb 5 17:14 /sbin/ping* > > An ls -l on ping shows: > > -rwxr-xr-x 1 root bin 118784 Nov 16 01:49 /sbin/ping > > And nobody else except root can do a ping without getting > > ping: socket: Permission denied It needs to be made setuid, i.e., it runs with the permissions of the owner, not the executor. $ chmod 4555 /sbin/ping as Mr. Wollman has it above. > I must have access to ping itself because if I type ping I get the command > line options for it. > > Chad > > > -- A tautology is a thing which is tautological.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960209234917.18217C-100000>