Re: pam_wheel patch for FreeBSD

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ditto for FreeBSD pam_unix (don't log an empty user).

-- Luke

  Index: pam_unix.c
  ===================================================================
  RCS file: /cvs/Darwin/Libraries/Other/pam_modules/pam_unix/pam_unix.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- pam_unix.c        2001/08/09 15:04:15     1.10
  +++ pam_unix.c        2001/08/09 16:36:50     1.11
  @@ -109,9 +109,8 @@
                if (retval != PAM_SUCCESS)
                        PAM_RETURN(retval);
                pwd = getpwnam(user);
  +             PAM_LOG("Got user: %s", user);
        }
  -
  -     PAM_LOG("Got user: %s", user);
   
        if (pwd != NULL) {
   
  

--
Luke Howard | lukehoward.com
PADL Software | www.padl.com





[Index of Archives]     [Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

  Powered by Linux