From owner-freebsd-hackers Wed Jul 17 21:00:10 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA19394 for hackers-outgoing; Wed, 17 Jul 1996 21:00:10 -0700 (PDT) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA19389 for ; Wed, 17 Jul 1996 21:00:08 -0700 (PDT) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id WAA06819; Wed, 17 Jul 1996 22:58:55 -0500 From: Joe Greco Message-Id: <199607180358.WAA06819@brasil.moneng.mei.com> Subject: Re: /usr/hosts To: dgy@rtd.com (Don Yuniskis) Date: Wed, 17 Jul 1996 22:58:54 -0500 (CDT) Cc: freebsd-hackers@freefall.freebsd.org In-Reply-To: <199607171904.MAA04220@seagull.rtd.com> from "Don Yuniskis" at Jul 17, 96 12:04:34 pm X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Greetings! > Is /usr/hosts deprecated? > Thanx, > --don 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 It obviously makes a few assumptions. 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. ... Joe ------------------------------------------------------------------------------- Joe Greco - Systems Administrator jgreco@ns.sol.net Solaria Public Access UNIX - Milwaukee, WI 414/546-7968