From owner-freebsd-questions Sun Sep 20 10:24:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA28743 for freebsd-questions-outgoing; Sun, 20 Sep 1998 10:24:59 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from bogslab.ucdavis.edu (bogslab.ucdavis.edu [169.237.68.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA28725 for ; Sun, 20 Sep 1998 10:24:54 -0700 (PDT) (envelope-from greg@bogslab.ucdavis.edu) Received: from deal1.bogs.org (deal1.bogs.org [198.137.203.51]) by bogslab.ucdavis.edu (8.7.4/8.7.3) with ESMTP id KAA03354 for ; Sun, 20 Sep 1998 10:24:24 -0700 (PDT) Received: from deal1.bogs.org (localhost [127.0.0.1]) by deal1.bogs.org (8.8.8/8.6.12) with ESMTP id KAA20503 for ; Sun, 20 Sep 1998 10:15:56 -0700 (PDT) Message-Id: <199809201715.KAA20503@deal1.bogs.org> To: questions@FreeBSD.ORG Subject: /etc/hosts.equiv, ~root/.rhosts Reply-To: gkshenaut@ucdavis.edu Date: Sun, 20 Sep 1998 10:15:49 -0700 From: Greg Shenaut Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Our whole network, bogs.org, is behind a university-administered router that doesn't allow any access to us from the outside at all. All of the users of the network are our employees or students--in other words, we are all just one happy family. I want to provide unlimited rsh-style access among the machines in the lab, and to do this, I would like to use an entry similar to *.bogs.org in /etc/hosts.equiv and in all of the ~/.rhosts files, including that of the root (for purpose of rdisting, etc.). I prefer this, because then I wouldn't have to keep fiddling with these files when a machine leaves or enters the network or changes its name. The same thing goes for /etc/hosts and /etc/hosts.lpd. However, I can't figure out how to make the various utilities recognize wildcards in those files. Is there any way to do this? There are two kludges I have thought of to work my way around it without wildcards: first, I have a Class C network, so I could just put all possible network addresses in the files and no names--the files would be large, but would only need to be changed if the underlying network model changes (this wouldn't fly at all if I went to a Class B model, though). The other approach would be to generate a list of names automatically on boot-up and at night by querying the DNS server with a perl script, but then I'd have to write the perl script. Any other suggestions? -Greg To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message