From owner-freebsd-stable Mon Jul 22 13:16:55 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E72DA37B400 for ; Mon, 22 Jul 2002 13:16:51 -0700 (PDT) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 434D243E31 for ; Mon, 22 Jul 2002 13:16:50 -0700 (PDT) (envelope-from Gerhard.Sittig@gmx.net) Received: (qmail 27544 invoked by uid 0); 22 Jul 2002 20:16:48 -0000 Received: from p50910508.dip0.t-ipconnect.de (HELO mail.gsinet.sittig.org) (80.145.5.8) by mail.gmx.net (mp017-rz3) with SMTP; 22 Jul 2002 20:16:48 -0000 Received: (qmail 28719 invoked from network); 22 Jul 2002 19:50:34 -0000 Received: from shell.gsinet.sittig.org (192.168.11.153) by mail.gsinet.sittig.org with SMTP; 22 Jul 2002 19:50:34 -0000 Received: (from sittig@localhost) by shell.gsinet.sittig.org (8.11.3/8.11.3) id g6MJoTQ28704 for freebsd-stable@freebsd.org; Mon, 22 Jul 2002 21:50:29 +0200 (CEST) (envelope-from sittig) Date: Mon, 22 Jul 2002 21:50:28 +0200 From: Gerhard Sittig To: freebsd-stable@freebsd.org Subject: Re: PAM... HELP!! Message-ID: <20020722215028.D1494@shell.gsinet.sittig.org> Mail-Followup-To: freebsd-stable@freebsd.org References: <20020721223830.T24610-100000@phoenix.vh.laserfence.net> <89773.1027287205@verdi.nethelp.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <89773.1027287205@verdi.nethelp.no>; from sthaug@nethelp.no on Sun, Jul 21, 2002 at 11:33:25PM +0200 Organization: System Defenestrators Inc. Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Jul 21, 2002 at 23:33 +0200, sthaug@nethelp.no wrote: > > > Hi, I recently did a make world on a remote system, and now find myself > > locked out, apart from one SSH connection I left running, however, dialups > > don't last forever and I will have to close that connection soon. Is there > > any way I can get SSH to work around PAM for the meantime, and is this > > problem fixed yet (a desparate cvsup is now in progress) > > What worked for me: > > - install new /etc/pam.conf (from /usr/src/etc/pam.conf) > - install new /etc/ssh/sshd_config (from /usr/src/crypto/openssh/sshd_config) This is another way of saying "I ran mergemaster". > - restart the running master sshd (/usr/sbin/sshd) This is another way of saying "I started sshd after running mergemaster in single user mode". To sum it up: The sequence of steps from UPDATING is correct and doesn't show the problem. Those who insist in doing things in a different way should be prepared to meet failures and are expected to (be able to) help themselves out. (yes, I can certainly be considered a smartass:) Even for remote upgrades there have been multiple hints in the numerous threads in this list (this is the point where this post is not just a simple "I told you ..."): serial consoles (with concentrators or "cross over" connecting two remote machines), installing systems on new disks and shipping / simply swapping the disk, installing to a second disk remotely (think DESTDIR) and rebooting into the first system should the updated one fail, etc etc ... One might get away often times without running single user mode. But one should be prepared when it doesn't work. There is a reason for the suggested procedure (often explained and easily found in the archive, search for "updat" or "single user" and "colo" or "remote"). virtually yours 82D1 9B9C 01DC 4FB4 D7B4 61BE 3F49 4F77 72DE DA76 Gerhard Sittig true | mail -s "get gpg key" Gerhard.Sittig@gmx.net -- If you don't understand or are scared by any of the above ask your parents or an adult to help you. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message