From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 16518 invoked from network); 12 Jun 1998 09:44:32 -0000 Received: from scorpius.salleurl.edu (@130.206.42.222) by mail2.redhat.com with SMTP; 12 Jun 1998 09:44:32 -0000 Received: from aries.salleURL.edu (aries.salleURL.edu [130.206.42.224]) by scorpius.salleURL.edu with SMTP (8.7.1/8.7.1) id LAA22382 for ; Fri, 12 Jun 1998 11:32:41 +0100 (WETDST) Received: from localhost by aries.salleURL.edu (SMI-8.6/SMI-SVR4) id LAA17397; Fri, 12 Jun 1998 11:31:58 GMT Date: Fri, 12 Jun 1998 11:31:58 +0000 (GMT) From: Alpha Mailing List X-Sender: alphaml@aries To: axp-list@redhat.com Subject: Re: NIS and Home directories In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE 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... > =09=09=09Keith We use NFS + NIS in an environment of Solaris 2.6 (UltraSparc), HP-UX 10.2 (HP9000/800), Linux intel and Linux alpha.=20 The NFS Server are a Linux intel dedicated file server and a Solaris 2.6 sparc. Every machine is NFS client.=20 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:=09 compat group:=09 files nis hosts:=09 files dns nis netgroup: nis =2E.. 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:=09files 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? ---------------------------------------------------------------------------= -=09 Centre de Serveis Inform=E0tics (CSI) e-mail: csi@els.url.es Enginyeria La Salle Barcelona - Catalonia =20 Universitat Ramon Llull =09 S P A I N=20 ---------------------------------------------------------------------------= -=09