URN Logo
UNIX Resources » Linux » Linux Forum » Linux Security » Page.3 » Syslog-ng Setup (for Sshd And Auth)
announcement The content of this page is collected from Linux Forum, All copyrights and other associated rights are reserved by the original authors of the articles.
Resources
China Linux Forum(finished)
Linux Forum(finished)
FreeBSD China(finished)
linuxforum.com
  LinuxForum General Chat
  Linux Advocacy
  LinuxForum Polls
  Introductions
  Linux Kernel Support
  Patch Management
  Development Release
  Linux Programming
  Linux Security
  Linux Software
  Linux Hardware Problems
    Linux Video Problems
    Linux Sound Problems
  Linux Networking Support
  Linux Printing Support
  Linux Human Interface Devices Support
  Linux Data Storage Support
  Linux Applications Support
  Linux Installation Support
  Linux Laptops Support
  Linux Motherboard, Chipsets, CPU, Memory
  Miscellaneous
  Debian Linux Support
  Ubuntu Linux Support
  LiveCD Discussions
  Gentoo Linux Support
  Mandrake Linux Support
  Redhat / Fedora Linux Support
  Slackware Linux Support
  SuSE Linux Support
  CentOS Linux Support
  Linux Web Servers
  Linux DNS Servers
  Linux Database Servers
  Linux Email Servers
  Linux FTP Servers
  Linux Squid Proxy Server
  Linux Samba Help
  Linux cPanel Help
  Linux Ensim Help
  Linux Plesk Help
  Linux Webmin / Usermin Help
  Qmail Toaster Help
  Linux Games
  Windows Game Emulation
  Linux Discussions
  General Linux Discussions
  Red Hat Linux Discussions
  More Red Hat Linux Discussions
  Mandrake Linux Discussions
  Slackware Linux Discussions
  SuSE Linux Discussions
  Debian Discussions
  Samba Help
  Linux Security
  Linux Networking
  Gentoo Help
  Operating System Rant Forum
  Hardware Rants
   
Syslog-ng Setup (for Sshd And Auth)
Subject: Syslog-ng Setup (for Sshd And Auth)
Author: m15a4    Posted: 2006-01-29 00:33:46    Length: 700 byte(s)
[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]
Subject: Syslog-ng Setup (for Sshd And Auth)
Author: m15a4    Posted: 2006-01-29 17:08:04    Length: 197 byte(s)
[Original] [Print] [Top]
Anyone?
  unsure.gif  
[Original] [Print] [Top]
Subject: Syslog-ng Setup (for Sshd And Auth)
Author: foobar47    Posted: 2006-01-30 04:30:26    Length: 427 byte(s)
[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...)
wink.gif
----
Linux is like sex, it's better when it's free...
My WebPage
[Original] [Print] [Top]
« Previous thread
I Would Like To Use Spare Computer As Firewall
Linux Security
Page. 3
Next thread »
Iptables Script Generated By Bastille
     

Copyright © 2007 UNIX Resources Network, All Rights Reserved.      About URN | Privacy & Legal | Help | Contact us
Powered by FreeBSD    webmaster: webmaster@unixresources.net
This page created on 2007-08-01 11:46:22, cost 0.025156021118164 ms.