Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Alpha Mailing List <alphaml@salleURL.edu>
To: axp-list@redhat.com
Subject: Re: NIS and Home directories
Date: Fri, 12 Jun 1998 11:31:58 +0000 (GMT)	[thread overview]
Message-ID: <Pine.GSO.3.95.980612112004.17230A-100000@aries> (raw)
In-Reply-To: <Pine.BSI.3.95.980608114948.7392A-100000@shell1.cybercom.net>

On Mon, 8 Jun 1998, Keith Baker wrote:

> How does one deal with home directories with NIS...  are they remote
> mounted?  and if so, my NIS server is Intel based...  What kind of
> problems is this going to create when I use my alpha...  As in, it
> mounts my home directory and uses the config files which may be
> intel linux based...  Sorry, this is only slightly an alpha based
> question...  This problems gets even worse with my Sun...
> 			Keith

We use NFS + NIS in an environment of Solaris 2.6 (UltraSparc), HP-UX 10.2
(HP9000/800), Linux intel and Linux alpha. 

The NFS Server are a Linux intel dedicated file server and a Solaris 2.6
sparc. Every machine is NFS client. 

The Primary NIS server is the Solaris 2.6 sparc and the secondary is one
HP-UX 10.2 Every machine is NIS client. One curious think is that all
SUN clients want the Solaris 2.6 as its server, and all HP-UX or Linux
clients prefer the HP-UX (secondary) server. But this is not the problem.

We use netgroups to delimite the access of users to each machine, so in
/etc/passwd we put lines like this:

+@staff::::::
+@machine::::::
+@:*:::::

so we have to set /etc/nsswitch.conf to compat mode:

hosts:	  compat
group:	  files nis

hosts:	  files dns nis
netgroup: nis
...

This work nice on all machines EXCEPT in LINUX ALPHA!!!!!

with this solution, when a user executes a simple ls -l in the linux
alpha, the list can take up to 10 seconds to show 15 files!

It seems to be the compat line in the hosts: entry of /etc/nsswitch.conf

If i put an entry like:

hosts:	files nis

The problem is solved but then every user in nis can acces to the machine.

So this is  BIG problem. Besides, PAM does not work very well on linux
alpha. In fact, linux doesn't run very well in alpha!!!

Any comment?


----------------------------------------------------------------------------	
   Centre de Serveis Informàtics (CSI)     e-mail:   csi@els.url.es
   Enginyeria La Salle                        Barcelona - Catalonia  
   Universitat Ramon Llull                    	   S P A I N 
----------------------------------------------------------------------------	


  parent reply	other threads:[~1998-06-12  9:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
     [not found] <toaster@cybercom.net>
1998-06-09  3:31 ` Larry Zimmerman
1998-06-09 11:29   ` Paul Tomblin
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