From owner-freebsd-questions Wed Jan 1 12:47:40 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 45EE037B401 for ; Wed, 1 Jan 2003 12:47:38 -0800 (PST) Received: from angelfish.lewiz.org (dialup.212-50-179-17.karoo.KCOM.COM [212.50.179.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 00DF343EA9 for ; Wed, 1 Jan 2003 12:47:35 -0800 (PST) (envelope-from lewiz@turtle.lewiz.org) Received: (qmail 40458 invoked by uid 85); 1 Jan 2003 20:47:22 -0000 Received: from lewiz@turtle.lewiz.org by angelfish by uid 0 with qmail-scanner-1.14 (sophie: 2.10/3.62. spamassassin: 2.43. Clear:SA:0(-2.9/5.0):. Processed in 2.322283 secs); 01 Jan 2003 20:47:22 -0000 X-Spam-Status: No, hits=-2.9 required=5.0 Received: from turtle.lewiz.org (192.168.0.9) by angelfish.lewiz.org with SMTP; 1 Jan 2003 20:47:16 -0000 Received: (nullmailer pid 37454 invoked by uid 1001); Wed, 01 Jan 2003 20:47:10 -0000 Date: Wed, 1 Jan 2003 20:47:10 +0000 From: lewiz To: Dan Nelson Cc: FreeBSD-questions Subject: Re: YP/NIS timeout. Message-ID: <20030101204709.GD37371@lewiz.org> Mail-Followup-To: lewiz , Dan Nelson , FreeBSD-questions References: <20021229230257.GA18301@lewiz.org> <20021230022520.GA30400@dan.emsphone.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oTHb8nViIGeoXxdp" Content-Disposition: inline In-Reply-To: <20021230022520.GA30400@dan.emsphone.com> X-GPG-Fingerprint: 90A4 939E 3847 A3E4 8103 2A48 22DA B428 542F ED3F X-GPG-Info: http://www.westwood.karoo.net/pgpkey / horowitz.surfnet.nl User-Agent: Mutt/1.5.1i 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 --oTHb8nViIGeoXxdp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Dec 29, 2002 at 08:25:20PM -0600, Dan Nelson wrote: > In the last episode (Dec 29), lewiz said: > > I'm wondering if there is any way to stop my system completely > > falling over when my YP/NIS server is no longer available? I am > > unable to login, even with my root account. I have a local user that > > I would like to use (when the YP/NIS server is unavailable) but this > > seems impossible. Any ideas on this matter? >=20 > Make sure the local user is above the + in your passwd file and you > should be okay. Define "unable to login". Do you simply get "login > incorrect" for all attempts, or are you able to log in but something > else happens? At the login: prompt I enter my username (lewiz), hit return and get nothing for a while until: yp_order: clnt_call: RPC: Timed out This message gets repeated a few times but I can do pretty much nothing with my machine. Even as I log in as a local user (say root) I get past entering my password, at which point I get the same message. I can't understand why this happens. Update here: I've just sat and watched it a bit longer. I only get one repetition of this message with root, after which it allows me to login as per usual. Still, this seems odd because root has nothing to do with the YP/NIS configuration, does it? > You might want to consider setting up a couple NIS slave servers if > your master is unreliable. I agree :) I'm trying to do this with a laptop though. I want it so if I disconnect from my network that I can just log in as an alternate user (in my case I have lewiz2 setup, which is essentially a local mirror of the YP/NIS user lewiz). This way I can use a synchronization tool (unison and rsync) to ensure both accounts are up-to-date when I return. Many thanks for your reply. Happy New Year, -lewiz. --=20 As far as we know, our computer has never had an undetected error. -- Weisert ------------------------------------------------------------------------ --|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||-- --oTHb8nViIGeoXxdp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+E1PNItq0KFQv7T8RAqprAJ0aGP3c/DDOWNJOVktWIr/tIObcdQCg7FMm J4txiPXiG3Cbn+Tbuj+aZNM= =RCsH -----END PGP SIGNATURE----- --oTHb8nViIGeoXxdp-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message