From owner-freebsd-current Sun Apr 14 15:18:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by hub.freebsd.org (Postfix) with ESMTP id 6CDBE37B400 for ; Sun, 14 Apr 2002 15:18:26 -0700 (PDT) Received: from pool0030.cvx40-bradley.dialup.earthlink.net ([216.244.42.30] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 16wsKF-0003YE-00; Sun, 14 Apr 2002 15:18:24 -0700 Message-ID: <3CBA0015.190D71EA@mindspring.com> Date: Sun, 14 Apr 2002 15:17:57 -0700 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Rasmus Skaarup Cc: freebsd-current@freebsd.org Subject: Re: pam_unix.so error and lock order reversal References: <20020414115442.X27398-100000@skaarup.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Rasmus Skaarup wrote: > On Sat, 13 Apr 2002, Terry Lambert wrote: > > Rasmus Skaarup wrote: > > > 2) When logged in as root, and su'd to a non-root user, I cannot ssh to a > > > 4.5-STABLE machine.. It just hangs. But when logged in as non-root, it > > > works fine. Is this somekind of security feature? :-) > > > > Pretty much. The user it attempts to log you in as is still > > "root", because that's still your identity, even if it's not > > your current credential. > > [...] > > > You might want to try using "su -" instead of "su", in > > order to actually *become* the other person. > > I am. You might try "ssh user@machinename" instead of "ssh machinename". You might also try logging in as someone other than "root" (;^)). Finally, you might want to remove ~root/.ssh, and let it be recreated... it could just be a version thing. Realize that, no matter what, if you are being identified as "root", then you will not be able to get access to ~root/.ssh's contents if you give up your "root"-ness. So that means you need to figure out how it's deciding you are root. -- Terry To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message