On Wed, 28 Mar 2001, Bruce Evans wrote:

> > markm       2001/03/27 11:40:51 PST
> > 
> >   Modified files:
> >     etc                  pam.conf 
> >     libexec/rshd         Makefile rshd.8 rshd.c 
> >     libexec/ftpd         Makefile ftpd.c 
> >     usr.bin/login        Makefile login.1 login.c 
> >     usr.bin/su           Makefile su.1 su.c 
> >   Log:
> >   Add full PAM support for account management and sessions.
> >   
> >   The PAM_FAIL_CHECK and PAM_END macros in su.c came from the util-linux
> >   package's PAM patches to the BSD login.c
> >   
> >   Submitted by:     "David J. MacKenzie" <[EMAIL PROTECTED]>
> 
> This breaks:
> 
> 1) su on passwordless accounts.
>    (a) `su <passwordless>' now bogusly prompts for a password.  It lets
>        you in if you type an empty password.
>    (b) `echo somecommand | su <passwordless>' now bogusly prompts for
>        a password.  su doesn't find a password, and exits without printing
>        anything or running `somecommand'.  I use the latter form a lot.
> (2) static linkage of rshd.  Previously, only static linkage of many other
>     commands that are linked to libpam was broken (ftpd was one).
> 
> Bruce

I use the quick fix of removing -DPAM from su/Makefile.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to