DragonFly-2.1.1.257.g0d96fe DragonFly_RELEASE_2_2 Makefile.inc1 lib/pam_module/pam_unix Makefile pam_unix.8 pam_unix.c share/mk bsd.libnames.mk

Simon Schubert corecode at crater.dragonflybsd.org
Tue Feb 3 11:17:40 PST 2009


commit 0d96fe5a0ed65ace5a06125976a01848fd041dd2
Author: Peter Avalos <pavalos at theshell.com>
Date:   Sun Dec 28 20:20:17 2008 -0500

    Lock out authentication if the account has been locked by pw(8).
    
    In account management, verify whether the account has been locked
    with `pw lock', so that it's impossible to log into a locked account
    using an alternative authentication mechanism, such as an ssh key.
    This change affects only accounts locked with pw(8), i.e., having a
    `*LOCKED*' prefix in their password hash field, so people still can
    use a different pattern to disable password authentication only.
    
    Also, clean out some (void) casts and use libypclnt.
    
    Obtained-from: FreeBSD

Summary of changes:
 Makefile.inc1                      |    2 +-
 lib/pam_module/pam_unix/Makefile   |    8 ++++++--
 lib/pam_module/pam_unix/pam_unix.8 |   34 ++++++++++++++++++++++++----------
 lib/pam_module/pam_unix/pam_unix.c |   33 +++++++++++++++++----------------
 share/mk/bsd.libnames.mk           |    1 +
 5 files changed, 49 insertions(+), 29 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0d96fe5a0ed65ace5a06125976a01848fd041dd2


-- 
DragonFly BSD source repository





More information about the Commits mailing list