Results 1 to 3 of 3
Hi. Currently my ssh/pam logs to /var/log/messages along with many other things but i've seen it logged elsewhere in other distros, like /var/log/auth.log. I'd like to get ssh/pam to log ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-18-2006 #1
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?
- 12-18-2006 #2
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.
- 12-19-2006 #3