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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to