Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 1996 22:58:54 -0500 (CDT)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        dgy@rtd.com (Don Yuniskis)
Cc:        freebsd-hackers@freefall.freebsd.org
Subject:   Re: /usr/hosts
Message-ID:  <199607180358.WAA06819@brasil.moneng.mei.com>
In-Reply-To: <199607171904.MAA04220@seagull.rtd.com> from "Don Yuniskis" at Jul 17, 96 12:04:34 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607180358.WAA06819>