From owner-freebsd-questions Wed Feb 25 02:03:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA16767 for freebsd-questions-outgoing; Wed, 25 Feb 1998 02:03:24 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from polaris.we.lc.ehu.es (polaris.we.lc.ehu.es [158.227.6.43]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id CAA16711 for ; Wed, 25 Feb 1998 02:02:47 -0800 (PST) (envelope-from jose@we.lc.ehu.es) Received: from we.lc.ehu.es by polaris.we.lc.ehu.es (SMI-8.6/SMI-SVR4) id KAA25154; Wed, 25 Feb 1998 10:59:45 +0100 Message-ID: <34F3EB75.1E4588F6@we.lc.ehu.es> Date: Wed, 25 Feb 1998 10:59:17 +0100 From: "Jose M. Alcaide" Organization: Universidad del País Vasco - Dep. de Electricidad y Electrónica X-Mailer: Mozilla 4.04 [en] (X11; I; SunOS 5.5.1 sun4u) MIME-Version: 1.0 To: Mark Castillo CC: freebsd-questions@FreeBSD.ORG Subject: Re: NIS and Solaris Master server References: <199802241952.OAA02690@spades.relationships.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Mark Castillo wrote: > > does anyone know what the steps needed to setup freebsd as an NIS client? > We've got Solaris running a master server, and would like to setup freebsd > as client. > It's very easy. You have to edit /etc/rc.conf (FreeBSD 2.2.2, 2.2.5), and set the variable "nisdomainname" at the beginning of the network subsection. Then go down to the NIS options and set the variable "nis_client_enable" to "YES", and leave the others unchanged. Then you have to edit the passwd database (using "vipw") and append the following record: +::::::::: Also, edit /etc/host.conf and uncomment the line "nis": this enables hosts queries to NIS. -- JM ----------------------------------------------------------------------- Jose M. Alcaide | mailto:jose@we.lc.ehu.es Universidad del Pais Vasco | http://www.we.lc.ehu.es/~jose Dpto. de Electricidad y Electronica | Facultad de Ciencias - Campus de Lejona | Tel.: +34-4-4647700 x2624 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-4-4858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message