Thread View: uw.unix
2 messages
2 total messages
Started by Phil Regier
Fri, 22 Sep 1989 16:45
/usr/hosts
Author: Phil Regier
Date: Fri, 22 Sep 1989 16:45
Date: Fri, 22 Sep 1989 16:45
10 lines
942 bytes
942 bytes
On many machines there is a directory called /usr/hosts which is intended to contain files for each of the hosts on the network. These files have the same name as the machine and are symbolic links to /usr/ucb/rsh. There is often a MAKEHOSTS file to generate this structure from the /etc/hosts file. I have seen this directory in BSD4.3, UMIPS 4.0 and SUN OS4.0. What is the purpose of this directory? Is it just there so that users can put it in their path and thus be able to use the machine name as an alias for rsh/rlogin commands or is it used by some program(s)? Thanks in advance for any answers. I have checked manuals but cannot find any info.
Re: /usr/hosts
Author: John M. Sellens
Date: Sat, 23 Sep 1989 21:49
Date: Sat, 23 Sep 1989 21:49
14 lines
933 bytes
933 bytes
In article <33@vlsi.waterloo.edu> peregier@vlsi.waterloo.edu (Phil Regier) writes: >Is it just >there so that users can put it in their path and thus be able to use >the machine name as an alias for rsh/rlogin commands I think that's the only reason. Kind of silly when you have a large number of hosts around: % decomment </etc/hosts | wc -l 550 I've always felt that if a user finds % rsh machine that much harder to type than % machine then the best thing is for them to make aliases for their favorite machines.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads