Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Paul Tomblin <ptomblin@xcski.com>
To: axp-list@redhat.com
Subject: Re: NIS and Home directories
Date: Tue, 9 Jun 1998 07:29:28 -0400	[thread overview]
Message-ID: <19980609072928.K20327@xcski.com> (raw)
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.<machinetype>
directory, and the independant stuff in ~/bin.  Same with our product
development tree - "make" would make the binaries into $TREE/bin.<machinetype>
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


  reply	other threads:[~1998-06-09 11:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <toaster@cybercom.net>
1998-06-09  3:31 ` NIS and Home directories Larry Zimmerman
1998-06-09 11:29   ` Paul Tomblin [this message]
1998-08-30 11:41 ` PDF Files (was ARC Specification) Larry Zimmerman
1998-08-30 15:38   ` Michal Jaegermann
1998-06-08 15:53 NIS and Home directories Keith Baker
1998-06-08 20:24 ` Robert L. Millner
1998-06-12 11:31 ` Alpha Mailing List
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox