From owner-freebsd-questions Wed Feb 4 16:20:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA17073 for questions-outgoing; Wed, 4 Feb 1998 16:20:35 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from stage1.thirdage.com (stage1.ThirdAge.com [204.74.82.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA17005 for ; Wed, 4 Feb 1998 16:20:09 -0800 (PST) (envelope-from jal@42is.com) Received: from goober (gigi.ThirdAge.com [204.74.82.169]) by stage1.thirdage.com (8.8.5/8.8.5) with SMTP id PAA26546; Wed, 4 Feb 1998 15:24:59 -0800 (PST) Message-Id: <3.0.3.32.19980204151937.009b37d0@colonel.42inc.com> X-Sender: jal@colonel.42inc.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.3 (32) Date: Wed, 04 Feb 1998 15:19:37 -0800 To: Ronald Kuehn From: Jamie Lawrence Subject: Re: minimalist /etc/services and /etc/inetd.conf Re: Security Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: <199802042243.XAA00434@sinfonix.rz.tu-clausthal.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG X-To-Unsubscribe: mail to majordomo@FreeBSD.org "unsubscribe questions" At 11:43 PM 2/4/98 +0100, you wrote: >In list.freebsd-questions you write: >> "Don't play with /etc/services" seems like pretty general advice >> not applicable in all (or perhaps even most) situations. > >Again, "don't play with /etc/services". It's for mappings between >port numbers and service names only. It has nothing do to with services >you currently run. That's the job of inetd (/etc/inetd.conf) and >/etc/rc.* (for running standalone services). >Removing lines from /etc/services buys you nothing but trouble. I'm well aware of the function of /etc/services, and I disagree. Should that be what one wants to do, then that would be the proper course of action. A machine running little other than an httpd and sshd has no need to know that port 4045 maps to lockd. And so on. -j