delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/12/01/04:18:19

X-Spam-Check-By: sourceware.org
Date: Thu, 1 Dec 2005 10:18:05 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Redirect SSHD messages from Application to Security log in Win2k
Message-ID: <20051201091804.GF2999@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <loom DOT 20051130T010840-939 AT post DOT gmane DOT org> <438E32E4 DOT FEAE0875 AT dessent DOT net>
Mime-Version: 1.0
In-Reply-To: <438E32E4.FEAE0875@dessent.net>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Nov 30 15:16, Brian Dessent wrote:
> Listmail wrote:
> > 2) I would like the ssh messages to go to the Security log, as it is
> > empty now and seems like a logically named place for these events.
> > The application log is getting full quickly by ssh logon/logoff
> > messages.
> 
> This is not possible without modifying the syslog code in cygwin, and
> even then I don't know if regular applications can log to the security
> log.

It can't.  MSDN documents that the Security log is for system use only
and that an application trying to register for this log fails:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/debug/base/registereventsource.asp

Makes sense, after all sshd is just an application.

Why not use syslogd instead?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019