From owner-freebsd-questions Tue Mar 3 21:10:37 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA23557 for freebsd-questions-outgoing; Tue, 3 Mar 1998 21:10:37 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wi.net (adquestinc.com [204.95.193.252] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA23543 for ; Tue, 3 Mar 1998 21:10:28 -0800 (PST) (envelope-from laufen@wi.net) Received: from chardonnay.wi.net (207.250.150.234) by wi.net with SMTP (Eudora Internet Mail Server 2.0.1); Tue, 3 Mar 1998 23:10:27 -0600 Message-ID: <34FCE284.3806@wi.net> Date: Tue, 03 Mar 1998 23:11:33 -0600 From: Derek Laufenberg Reply-To: laufen@wi.net X-Mailer: Mozilla 3.04Gold (Win95; U) MIME-Version: 1.0 To: Ian Field CC: "'freebsd-questions@freebsd.org'" Subject: Re: NIS Implementation References: <411B07D1F591D111928500A0C985DE2E01FF08@alpha.mstk.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG No problem Ian. The /var/yp/servers file shoud just contain the names of the servers. Im guessing in you case just the on machine name on one line. Add the pluses to the end of the file. The + indicates that NIS should be used if no match is found in the file. Just add it to the on the last line of the file. The "+" is parsed by the functions which read the file. For NFS, add entries to the /etc/fstab for the file systems to mount. For my systems clients I have these lines at the end of the fstab: merlot:/home /home nfs rw 0 0 merlot:/usr /a/usr nfs rw 0 0 merlot:/spare /spare nfs rw 0 0 You should get a copy of NFS and NIS by Hal Stern. Its a little dated but covers all the basics. (O'Reilly Press) Derek Ian Field wrote: > > Derek, > Thanks for the help, I have a couple followup questions: > > 1) What should be the syntax of the /var/yp/servers file? > 2) on clients: add + to end of filenames? (i.e. hosts+) or on > the last line of the file itself? > 3) also, for NFS (which is installed and working) how do I > automount dirs at boot? > > Thanks again - once you respond I will let you know how it all works... > > Ian Field To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message