Michael Tokarev wrote: > [] > static int pam_default_log_callback(pamh, module, stack, pri, msg) { > openlog(module, LOG_AUTH|...); > syslog(pri, "%s: %s", stack, msg); > closelog(); > return PAM_SUCCESS; > } Oh, again forgot this. locale() + LC_CTIME handling for syslog here, example is in `Shadow Utilities'. Ugly but necessary.