|
|
|
|
| Syslog-ng Setup (for Sshd And Auth) |
|
|
|
[Original]
[Print]
[Top]
|
I recently went from SuSE 9.x to 10.0
Gone is syslog and syslog-ng is now here. I used to have a few very basic logs setup
Example ; /etc/syslog.conf # Auth Logging auth.* -var/log/secure
Question 1: I have No idea where or how to setup that basic thing in syslog-ng.
Question 2: I also, want to . . . . a ) have SSHD connections(and attempts) logged and . . . . b ) have successfull SSH logins Emailed to root (or another email address).
Sounds like two simple setup items, but I've googled till my head began to spin and no luck.
Any tips folks?!
Thanks in advance!
|
|
|
[Original]
[Print]
[Top]
|
|
[Original]
[Print]
[Top]
|
Hi,
i think you can setup the log file in each program. In your sshd_conf file by example, serach the line which contains "log_file" or something like this...
Perhaps you should reload each services after (syslogd, sshd...)
|
|
|
----
Linux is like sex, it's better when it's free... My WebPage
|
|
[Original]
[Print]
[Top]
|
|
|