From owner-freebsd-questions Thu May 8 06:17:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA25987 for questions-outgoing; Thu, 8 May 1997 06:17:47 -0700 (PDT) Received: from internet.hydro.on.ca (sir.Hydro.ON.CA [192.75.134.6]) by hub.freebsd.org (8.8.5/8.8.5) with SMTP id GAA25982 for ; Thu, 8 May 1997 06:17:44 -0700 (PDT) X-Authentication-Warning: internet: Host usenet.Hydro.ON.CA claimed to be usenet.Hydro.ON.CA Received: from pc-servicej.rd.hydro.on.ca (pc-servicej.RD.Hydro.ON.CA [142.7.120.62]) by usenet.Hydro.ON.CA (8.6.12/8.6.12) with ESMTP id JAA11991; Thu, 8 May 1997 09:06:49 -0400 Received: (from jservice@localhost) by pc-servicej.rd.hydro.on.ca (8.8.5/8.8.5) id JAA15803; Thu, 8 May 1997 09:06:27 -0400 (EDT) Date: Thu, 8 May 1997 09:06:27 -0400 (EDT) Message-Id: <199705081306.JAA15803@pc-servicej.rd.hydro.on.ca> From: Jim Service To: andrzej@tu.kielce.pl Cc: freebsd-questions@FreeBSD.ORG In-reply-to: <199705081121.NAA02208@tu.kielce.pl> (message from Andrzej Szydlo on Thu, 8 May 1997 13:21:42 +0200 (MET DST)) Subject: Re: NIS/yp '+' entries in passwd and group Reply-to: jservice@OHT.Hydro.ON.CA Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>>>> "Andrzej" == Andrzej Szydlo writes: Andrzej> Hi, Andrzej> How should '+' enries in /etc/passwd and /etc/group files look like Andrzej> and how do I add them for NIS/yp to work? I use FreeBSD 2.2 on both Andrzej> client and server. Andrzej> I tried to add +:*:: and some other combinations using vipw, but it Andrzej> always complained about wrong format. This has worked for me. Put "+:" on the last line by itself to include *all* the yp users or "+user:::::::::" to include a particular user called "user". Vipw will complain about bad entries so you must edit /etc/master.passwd by hand. Make a backup copy of /etc/master.passwd. Carefully edit /etc/master.passwd and add the NIS entries. Execute pwd_mkdb /etc/master.passwd to "register" them. If all goes well then cd ~user should do something on the client machine. -- James (Jim) R.R. Service Internet: jservice@oht.hydro.on.ca Ontario Hydro Technologies 800 Kipling Ave. - Room KR128 FAX: (416) 207-5623 Toronto, Ontario, CANADA M8Z 5S4 voice: (416) 207-6946