From owner-freebsd-hackers Wed Jul 17 23:16:56 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA29368 for hackers-outgoing; Wed, 17 Jul 1996 23:16:56 -0700 (PDT) Received: from seagull.rtd.com (root@seagull.rtd.com [198.102.68.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA29363 for ; Wed, 17 Jul 1996 23:16:53 -0700 (PDT) Received: (from dgy@localhost) by seagull.rtd.com (8.7.5/1.2) id XAA11390; Wed, 17 Jul 1996 23:15:26 -0700 (MST) From: Don Yuniskis Message-Id: <199607180615.XAA11390@seagull.rtd.com> Subject: Re: /usr/hosts To: jgreco@brasil.moneng.mei.com (Joe Greco) Date: Wed, 17 Jul 1996 23:15:26 -0700 (MST) Cc: dgy@rtd.com, freebsd-hackers@freefall.freebsd.org In-Reply-To: <199607180358.WAA06819@brasil.moneng.mei.com> from "Joe Greco" at Jul 17, 96 10:58:54 pm X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Is /usr/hosts deprecated? > > Not that I'm aware of! However, personally, I find that the following shell > script "makelogins" is more generally useful to me as a single user.. > > #! /bin/sh - > cd $HOME/bin/logins > echo `cat $HOME/.hostaliases | awk '{print $1}'` > for i in `cat $HOME/.hostaliases | awk '{print $1}'` ; do > ln rlog $i > done Yes, it's a watered down version of MAKEHOSTS... :> > Since the /usr/hosts thing works on the same principle, it will work - until > somebody gets rid of rlogin (as the telnet folks have been threatening for > quite some time). I doubt anyone will hack telnet to do this. > > Gosh I didn't think anybody even remembered this sort of stuff in this "new > modern age" of BSD. > > Side note: I have not seen anyone create a /usr/hosts in several years now. Well, that's the reason for my question -- has some other technique become more "traditional"...? Thx, --don