From owner-freebsd-current Sun Apr 14 2:56:34 2002 Delivered-To: freebsd-current@freebsd.org Received: from skaarup.org (skaarup.org [130.228.230.140]) by hub.freebsd.org (Postfix) with SMTP id E966F37B41B for ; Sun, 14 Apr 2002 02:56:31 -0700 (PDT) Received: (qmail 27459 invoked by uid 0); 14 Apr 2002 09:56:30 -0000 Received: from localhost (HELO skaarup.org) (127.0.0.1) by localhost with SMTP; 14 Apr 2002 09:56:27 -0000 Received: (qmail 27441 invoked by uid 1039); 14 Apr 2002 09:56:27 -0000 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 14 Apr 2002 09:56:27 -0000 Date: Sun, 14 Apr 2002 11:56:27 +0200 (CEST) From: Rasmus Skaarup To: Terry Lambert Cc: freebsd-current@freebsd.org Subject: Re: pam_unix.so error and lock order reversal In-Reply-To: <3CB80C4F.B37B1C37@mindspring.com> Message-ID: <20020414115442.X27398-100000@skaarup.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 @skaarup.org 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 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. Best regards, Rasmus Skaarup To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message