Solar Designer wrote: > I think the application should register a callback function with > libpam. That function will accept the module and service names and > the format string plus any number of arguments as passed from the > module. There should also be a default function provided within > libpam itself. The call chain might look like: > > (module) -> /* in module */ > pam_log(format, ...) -> /* in libpam */ > appl_log(module, service, format, ...) -> /* in application */ > syslog(LOG_AUTH, format, ...) /* in application */ This is quite a nice idea. Anyone want to prototype it? Thanks Andrew