From owner-freebsd-questions Sun Jan 5 3:30:52 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 2CB7837B405 for ; Sun, 5 Jan 2003 03:30:50 -0800 (PST) Received: from angelfish.lewiz.org (dialup.212-50-180-211.karoo.KCOM.COM [212.50.180.211]) by mx1.FreeBSD.org (Postfix) with SMTP id 0613143EB2 for ; Sun, 5 Jan 2003 03:30:42 -0800 (PST) (envelope-from lewiz@turtle.lewiz.org) Received: (qmail 81414 invoked by uid 85); 5 Jan 2003 11:30:15 -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(-3.4/5.0):. Processed in 1.721361 secs); 05 Jan 2003 11:30:15 -0000 X-Spam-Status: No, hits=-3.4 required=5.0 Received: from turtle.lewiz.org (192.168.0.9) by angelfish.lewiz.org with SMTP; 5 Jan 2003 11:30:11 -0000 Received: (nullmailer pid 50084 invoked by uid 1001); Sun, 05 Jan 2003 11:30:38 -0000 Date: Sun, 5 Jan 2003 11:30:38 +0000 From: lewiz To: Bill Moran Cc: freebsd-questions@freebsd.org Subject: Re: Slow local logins when YP/NIS server unavailable. Message-ID: <20030105113038.GD48290@lewiz.org> Mail-Followup-To: lewiz , Bill Moran , freebsd-questions@freebsd.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qGV0fN9tzfkG3CxV" Content-Disposition: inline In-Reply-To: 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 --qGV0fN9tzfkG3CxV Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Jan 04, 2003 at 07:57:03PM -0500, Bill Moran wrote: > If you set the laptop up as a NIS backup server, you'll be able to log > in just fine, even when not connected to the network. It should > circumvent the delays, as you'll have everything the login system is > looking for. Yeah, I'd considered this myself and was going to implement it but after mentioning it in FreeBSD-mobile I got response saying it was a bit overkill (which, it would have been). Right now I've just got that code commented out in my login.c. The comment above the code says something along the lines of ``PAM may allocate more groups'' - I think that means that it provides the membership to all of the required groups. For me (at the moment) this is not an issue so I have now just compiled with that code disabled. It works perfectly but I really want to know what it's doing exactly, and whether it _should_ be causing a hang. Many thanks for your response, -lewiz. --=20 Misery loves company, but company does not reciprocate. ------------------------------------------------------------------------ --|| url: http://lewiz.info/ | http://www.westwood.karoo.net/pgpkey ||-- --qGV0fN9tzfkG3CxV Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+GBdeItq0KFQv7T8RAlkRAJsHt6xNC9aINozsyMgA3k+fxQq3IgCdGKXO uQ+uGeRF6/gHbZiSQ4QI4rg= =xc0k -----END PGP SIGNATURE----- --qGV0fN9tzfkG3CxV-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message