Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
want to get ssh/pam to log elsewhere...[solved]
I'd like to get ssh/pam to log into a different file for convenience, and keeping better track of authentication attempts.
Does anyone know of a way to do this?
By default in FC, there is an entry in /etc/syslog.conf that looks like:Code:
Also check out man 3 syslog - this has some info about authpriv (LOG_AUTHPRIV).
You might want to back up your /etc/syslog.conf file before messing with it.
If you already have an authpriv.* entry in yours, you can point it to a new logging file instead. Note that you will need to create the new file before the logger can write anything there (if it does not already exist).
Finally, remember to restart the syslogd daemon when you're done.