From owner-freebsd-questions Fri Oct 30 04:31:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id EAA00321 for freebsd-questions-outgoing; Fri, 30 Oct 1998 04:31:54 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from hotpoint.dcs.qmw.ac.uk (hotpoint.dcs.qmw.ac.uk [138.37.88.162]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id EAA00312 for ; Fri, 30 Oct 1998 04:31:50 -0800 (PST) (envelope-from scott@dcs.qmw.ac.uk) Received: from brunos-sun.dcs.qmw.ac.uk [138.37.88.185]; by hotpoint.dcs.qmw.ac.uk (8.8.7/8.8.5/S-4.0) with SMTP; id MAA16241; Fri, 30 Oct 1998 12:31:43 GMT Received: locally by brunos-sun (SMI-8.6/QMW-client-3.2b); poster "scott"; id MAA19598; Fri, 30 Oct 1998 12:31:10 GMT Message-ID: <19981030123110.Q9354@dcs.qmw.ac.uk> Date: Fri, 30 Oct 1998 12:31:10 +0000 From: Scott Mitchell To: Oleg Bespolitov , questions@FreeBSD.ORG Subject: Re: NIS client setup References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Oleg Bespolitov on Fri, Oct 30, 1998 at 02:55:43PM +0400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Oct 30, 1998 at 02:55:43PM +0400, Oleg Bespolitov wrote: > Will the FreeBSD NIS client work with a Solaris NIS server? Should do. It works fine with various SunOS servers here. > NIS server is running Solaris 2.6(SunOS 5.6), SUN Netra-I. > NIS client is running FreeBSD 2.2.7-RELEASE, IBM Pentium-166. > How is setup NIS client on FreeNSD? In /etc/rc.conf you need to set the following: nisdomainname="whatever your NIS domain is" nis_client_enable="YES" (you might need to set flags for ypbind/ypset -- I don't) You need to tweak (at least) /etc/passwd and /etc/group to use the NIS db. 'man 5 passwd' and 'man 5 group' tell you what you should add to these files. Various other files (such as /etc/ethers) can be configured to pick up info from NIS as necessary. The manpages are your friend here. If you use amd to mount home directories etc, it can pick up map files from the NIS server as well. Enable NIS in /etc/host.conf. If your servers are using DES passwords (they probably are) you'll need to install the secure distribution. Don't download it from a US server if you're not in the US/Canada. What have I forgotten? Scott. -- =========================================================================== Scott Mitchell | PGP Key ID |"If I can't have my coffee, I'm just | 0x54B171B9 | like a dried up piece of roast goat" QMW College, London, UK | 0xAA775B8B | -- J. S. Bach. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message