From owner-freebsd-questions Wed Mar 12 13:46:45 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 11C5A37B401 for ; Wed, 12 Mar 2003 13:46:44 -0800 (PST) Received: from web13504.mail.yahoo.com (web13504.mail.yahoo.com [216.136.175.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 8862543FAF for ; Wed, 12 Mar 2003 13:46:43 -0800 (PST) (envelope-from will@willardjwilliams.com) Message-ID: <20030312214643.14461.qmail@web13504.mail.yahoo.com> Received: from [172.189.238.171] by web13504.mail.yahoo.com via HTTP; Wed, 12 Mar 2003 13:46:43 PST Date: Wed, 12 Mar 2003 13:46:43 -0800 (PST) From: "W. J. Williams" Subject: Re: NIS not working (now it is :-) To: Mike Galvez , freebsd-questions@freebsd.org In-Reply-To: <20030312211425.GF25308@mail.virginia.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Mike Galvez wrote: > On Wed, Mar 12, 2003 at 12:19:01PM -0800, W. J. Williams wrote: > > see bottom.. > > > Try adding a test user with: pw useradd -Y -y /var/yp/master.passwd > > > testuser > > > > > > Try logging into the master with the new user. Success? Try the > client. > > > > > > HTH > > > > > > -Mike > > > > > > > *************************************** > > > > ok, thx. tried that...no dice...after adding the user with pw...I had > to > > do a passwd testuser and add a password. could not log client though. > I > > am trying to open a ssh connection from master to client....any other > > ideas? > > Was that passwd or yppasswd? After the yppasswd, you will need to run > make in /var/yp to propagate the change. > ****************************************************************** ******************************************************************** Hi Mike, thx for helping...seems it works now..here's what I did/learned. I mirrored the rc.conf of all of my clients in my lab AND "touched" all master.passwd files with vipw instead of vi I can log into all of them now with the testuser account. Some more things I learned (correct me if I am wrong) 1. always use vipw if you have to mess with master.passwd 2. the order of what you call in rc.conf is important (I still don't know what f**** order that is supposed to be, but it seemed to make a difference. 3. after changing "mapped" files, you need to manually run "make XXXX=/etc/XXX nisdomain" to udpate the files. 4. per your email below...I made the account using your string, and then did a "passwd testuser" to add a password. should i have used yppassword? hope someone else is gaining from this as well... thx Will ===== Will Williams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message