Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Dec 2002 20:00:55 +0000 (GMT)
From:      Gavin Atkinson <gavin@ury.york.ac.uk>
To:        Craig Boston <craig@xfoil.gank.org>
Cc:        current@FreeBSD.ORG
Subject:   Re: su(1) problem on -current
Message-ID:  <20021215195157.H58191-100000@ury.york.ac.uk>
In-Reply-To: <1039973731.751.11.camel@darth-laptop>
References:  <1039973731.751.11.camel@darth-laptop>

next in thread | previous in thread | raw e-mail | index | archive | help

On Sun, 15 Dec 2002, Craig Boston wrote:
> On a laptop running current, I have a problem using the su program
> multiple times (nested).
>
> (log in as auser)
> $ id
> uid=1002(auser) gid=1002(auser) groups=1002(auser)
> $ su - buser
> Password:
> $ id
> uid=1001(buser) gid=1001(buser) groups=1001(buser), 0(wheel)
> $ su -
> su: Sorry
> $
>
> So, even though I'm in the wheel group after the first su, it won't let
> me su to root (doesn't even prompt for password).  It seems to make no
> difference whether I use the -l option to su or not.  Is this PAM
> related?

Confirmed. in su.c it seems that pam_authenticate is returning
PAM_AUTH_ERR, when it presumably should not be doing so.

that's about all I can figure out, PAM is not an area I'm familiar with.
4.x does not have this problem.

Gavin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021215195157.H58191-100000>