Re: pam_wheel

2001-08-08 Thread Mark Murray
> This piece obviously has at least two errors. First, if PAM_OPT_AUTH_AS_SELF > is true, then value of user is undefined. It should probably log > pwd->pw_name instead. Second, check for root must of course be reversed > and become if (!pwd->pw_uid). Fixed locally. Commit coming soon. M -- Mar

[PATCH] pam_wheel fix

2001-08-07 Thread Eugene L. Vorokov
Hello, can anyone please commit this fix to pam_wheel authentication module. It fixed two problem I mentioned in my previous mail (currently for any non-root user PAM_IGNORE is returned, and in case of auth_as_self and debug options used together it logs strange things instead of username). The

pam_wheel

2001-08-06 Thread Eugene L. Vorokov
Hello, pam_wheel authentication module seems to be broken in -current. Look at this (from src/lib/libpam/modules/pam_wheel): PAM_EXTERN int pam_sm_authenticate(pam_handle_t * pamh, int flags, int argc, const char **argv) { struct options options; struct passwd *pwd