On Mon, Jan 21, 2002 at 17:14:24 +0100, Dag-Erling Smorgrav wrote:
> Dag-Erling Smorgrav <[EMAIL PROTECTED]> writes:
> > OK, now I'm really off my rocker; pam_conv_pass() (called by
> > pam_get_pass()) does set PAM_AUTHTOK. I still don't understand why
> > it's NULL by the time pam_unix(8) calls pam_get_pass(). I'll
> > investigate further.
> I found the bug: login(1) only sets PAM_RHOST if the user is logging
> in from a remote host, but it should be set to the local hostname if
> the user is logging in locally.
Yes. It seems that PAM wants some form of PAM_RHOST in many places. "su",
for example, does needed trick here.
Andrey A. Chernov
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message