From owner-freebsd-questions Wed Mar 12 12:19: 9 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 5162137B401 for ; Wed, 12 Mar 2003 12:19:06 -0800 (PST) Received: from web13505.mail.yahoo.com (web13505.mail.yahoo.com [216.136.175.84]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CCF943FB1 for ; Wed, 12 Mar 2003 12:19:05 -0800 (PST) (envelope-from will@willardjwilliams.com) Message-ID: <20030312201901.11503.qmail@web13505.mail.yahoo.com> Received: from [172.189.238.171] by web13505.mail.yahoo.com via HTTP; Wed, 12 Mar 2003 12:19:01 PST Date: Wed, 12 Mar 2003 12:19:01 -0800 (PST) From: "W. J. Williams" Subject: Re: NIS not working To: freebsd-questions@FreeBSD.ORG In-Reply-To: <20030312164927.GC25308@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 see bottom.. --- Mike Galvez wrote: > On Wed, Mar 12, 2003 at 02:42:53AM -0800, W. J. Williams wrote: > > hi hope someone knows the answer to this riddle...I am trying to get > NIS > > up and running. > > > > 1. one master, no slave...domain name is lab-nis-domain > > 2. Master rc.conf file contains enabling commands to start nis server > as > > well as nis_yppasswdd. The build of the /var/yp/lab-nis-domain > indicated > > "built with no errors" > > > > 3. client machine rc.confs contain domain name, nis_client_enable, > > rpcbind_enable. > > > > 4. when I run ypcat passwd from any client machine I get a list of > avail > > passwords from the master domain... all looked good... > > > > 5. created a new user on master, ran make lab-nis-domain and it said > > "domain already current"...so I copied the updated master.passwd file > to > > /var/yp and ran make again...still same message. > > How & where did you create the new user on the master? > > The user should not exist in the client machine master.passwd. > > 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 > > > > > 6. as last resort I ran ypinit -m again to rebuild the entire > > domain..then ran ypcat passwd from client machine and was able to see > the > > new account. > > > > 7. MY PROBLEM: I can't log into the client machine using the new > > account...I have added the +::::::::: string to master.passwd and > +:*:: > > string to group file...but still no work. > > > > any ideas? > > > > Will > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > -- > Michael Galvez http://www.people.virginia.edu/~mrg8n > University of Virginia Messenger Mail: Carruthers Hall > > Teamwork is essential -- it allows you to blame someone else. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message *************************************** 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? ===== Will Williams To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message