From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 12115 invoked from network); 9 Jun 1998 11:49:04 -0000 Received: from canoe.roc.servtech.com (HELO canoe.xcski.com) (root@204.181.4.141) by mail2.redhat.com with SMTP; 9 Jun 1998 11:49:04 -0000 Received: (from ptomblin@localhost) by canoe.xcski.com (8.8.7/8.8.7) id HAA04908; Tue, 9 Jun 1998 07:29:28 -0400 Message-ID: <19980609072928.K20327@xcski.com> Date: Tue, 9 Jun 1998 07:29:28 -0400 From: Paul Tomblin To: axp-list@redhat.com Subject: Re: NIS and Home directories References: <199806090331.VAA13246@walleye.gonefishing.sk.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1 In-Reply-To: <199806090331.VAA13246@walleye.gonefishing.sk.ca>; from Larry Zimmerman on Mon, Jun 08, 1998 at 09:31:45PM -0600 Quoting Larry Zimmerman (laz@walleye.gonefishing.sk.ca): > At work we have SunOS and Solaris, so my config file has stuff to > determine which OS the machine I'm logged into is running, then set > PATH, etc. accordingly. > > To get this to work in your environment you need to find common commands > that tell you what OS and CPU you're logged into - e.g. mach,arch,uname > and set PATH, TERM, etc. accordingly. I used to work in an environment with SunOS (on Sun3 and SPARC), Ultrix (on Vax, MIPS and Alpha), AIX (on RT and RS/6000) and HP-SUX (on PA-RISC). We had our home directories NFS mounted on all of those machines, and used YP (now NIS) to serve the passwords. A shell script that tested for the existance of an the output of mach, arch, uname, etc, did the machine specific set up, and everybody sourced it out of their .cshrc or .profiles. Mostly, it was a case of making sure you had machine specific binaries in your ~/bin. directory, and the independant stuff in ~/bin. Same with our product development tree - "make" would make the binaries into $TREE/bin. while the shell scripts and perl would be in $TREE/bin. -- Paul Tomblin, ptomblin@xcski.com. "The day Microsoft makes something that doesn't suck is probably the day they start making vacuum cleaners" - Ernst Jan Plugge