From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1471 invoked by alias); 29 Sep 2003 12:03:45 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 1453 invoked from network); 29 Sep 2003 12:03:43 -0000 Received: from unknown (HELO crag.niss.com) (24.123.82.170) by sources.redhat.com with SMTP; 29 Sep 2003 12:03:43 -0000 Received: from crag.niss.com (localhost.niss.com [127.0.0.1]) by crag.niss.com (8.12.8p1/8.12.8) with ESMTP id h8TC3gEj083538 for ; Mon, 29 Sep 2003 07:03:42 -0500 (CDT) (envelope-from listS+cygwin@niss.com) Message-Id: <200309291203.h8TC3gEj083538@crag.niss.com> From: Scott Bolte To: cygwin@cygwin.com Subject: Re: does syslog works only for SYSTEM account on w2k? MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <83536.1064837022.1@crag.niss.com> Date: Mon, 29 Sep 2003 12:24:00 -0000 X-SW-Source: 2003-09/txt/msg01775.txt.bz2 > > > It seems like cygwin syslog on w2k, both the logger command the > > syslog(3) routine, works only for the SYSTEM account. Is that true? > > No. Perhaps the users privileges don't allow that? Members of the > group "Users" (or the native analogon) have the appropriate permissions > by default. I expect my test user has sufficient privileges. It is in groups None, Administrators, Power Users, and User. I guess I'll try to learn more about the internals of w2k, more then I ever wanted to know, starting with ReportEventA(). Unfortunately my configure of cygwin-1.5.5-1 died looking for an errant install-sh. In case my w2k environment is insufficient to build cygwin from scratch, could you add a check of return code from ReportEventA()? That might shed light on the problem. Thank you, Scott -- 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/