Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: syslogd && sshd logging question


  • Subject: Re: lug-bg: syslogd && sshd logging question
  • From: tzz@xxxxxxxxxxxx (Ted Zlatanov)
  • Date: Tue, 10 Dec 2002 23:25:29 -0500



On Tue, 10 Dec 2002, mmavrudiev@xxxxxxxxx wrote:
>  Zdrawejte, 
> Interesuwa me kak moga da logna sshd syobshteniqta.
> /etc/syslog.conf go logwa kato *.=info, koeto e malko
> neudobno. w /etc/ssh/sshd_config namerih edin red:
> LogLevel INFO, dadoh s/INFO/ssh/g, posle dadoh w
> /etc/syslog.conf - *.=ssh   /usr/adm/ssh.

(Redhat OpenSSH ÚÞÝäØÓãàÐæØï, ÜÐÛÚÞ âàïÑÒÐ ÔÐ áÕ ßàÞÜÕÝØ ×Ð ÔàãÓØ
âØßÞÒÕ Unix)

/etc/syslog.conf ßàØÑÐÒØ:

local2.*                                                /var/log/sshd.log

/etc/ssh/sshd_config ßàÞÜÕÝØ SyslogFacility:

SyslogFacility LOCAL2

¿ÞáÛÕ, ×Ð ÔÐ ×ÐåÐßÕ:

/etc/init.d/syslog restart
/etc/init.d/sshd restart

ÂÞÕáâ, Ø×ßÞÛ×ÒÐÙ LOCAL2 ÒÜÕáâÞ ÔÐ ÔÕäØÝØàÐè ÝÞÒØ ÝØÒÐ ÝÐ syslog.

'man logger':

     Valid facility names are: auth, authpriv (for security information of a
     sensitive nature), cron, daemon, ftp, kern, lpr, mail, news, security
     (deprecated synonym for auth), syslog, user, uucp, and local0 to local7,
     inclusive.

¸ÜÐÙ ßàÕÔÒØÔ çÕ sshd ÝÞàÜÐÛÝÞ ßØèÕ ÝÐ authpriv, ÚÞÕâÞ ÞÑØÚÝÞÒÕÝÞ Õ
ßàÐÒØÛÝÞâÞ ÝØÒÞ ×Ð âÐ×Ø æÕÛ - ÒØÖ 'man logger', 'man syslog', 'man
syslogd'.  ÆÕÛâÐ Õ ÔÐ áÕ àÐ×ßàÕÔÕÛï ØÝäÞàÜÐæØïâÐ ßÞ ØÝâÕàÕá Ø
áßÕèÝÞáâ, Ð ÝÕ ßÞ ßàÞÓàÐÜÐâÐ.

ÂÕÞÔÞà
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.