Re: logging from PAM modules

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

 



>  1.  Can we omit openlog/closelog?  Manpage sais that them are

I don't think this is a good idea, as syslog() would use __progname
by default, and, for SUID applications that use PAM, this is under
the control of the user running them.

>      both optional.  Also consider:
>         syslog(pri|LOG_AUTH, "%s: %s", stack, msg);
>                   ^^^^^^^^^^

Yes, that can work, but wouldn't let us set the ident as well.

Signed,
Solar Designer





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

  Powered by Linux