delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/27/08:16:45

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Dave Korn" <dk AT artimi DOT com>
To: "'Cygwin List'" <cygwin AT cygwin DOT com>
Subject: RE: cron problem with authentication
Date: Thu, 27 May 2004 13:16:03 +0100
MIME-Version: 1.0
In-Reply-To: <A2AE62FF85AEAC4BA3DE695E3C237D110AD47F@exmid04.africa.enterprise.root>
Message-ID: <NUTMEGtsMCPo4yFIbbe0000008e@NUTMEG.CAM.ARTIMI.COM>
X-OriginalArrivalTime: 27 May 2004 12:16:04.0062 (UTC) FILETIME=[61804FE0:01C443E4]

> -----Original Message-----
> From: cygwin-owner On Behalf Of Mike Kenny - BCX - Mngd Services
> Sent: 27 May 2004 10:07

> I have a situation where, on the windows side, cron is running as user
> 'mqdisp'.

> The PS shows that cron is running as SYSTEM, 

> I hope the above better explains my problem.

  Not exactly!

> On the cywin side, mqdisp is the user that
> is trying to run the cron job that attaches to MQ Series.

  AYS?  I take it you say this because you were logged in as that user when
you ran crontab?

> BTW, is there some way that I can login as 'system'? This 
> might provide a way around this problem.

  Also not exactly!

  Heh.  Let me be clearer.  It seems to me that you want cron to run as user
mqdisp rather than user SYSTEM.  SYSTEM is a local account; it has utmost
(rooter-than-root) priviliges on your local machine but it's not a member of
the domain and has no access rights there.

>  [754] MQSeries
>    Type:     WARNING
>    Computer: TEST1
>    Time:     2004/05/27 10:50:14   ID:       8074
> Authorization failed as the SID 
> 'S-1-5-21-776561741-1935655697-1343024091-1007'
> does not match the entity 'system'.
>   The Object Authority Manager received inconsistent data - 
> the supplied SID doe
> s not match that of the supplied entity information.
>   Ensure that the application is supplying valid entity and 
> SID information.

  Yep, that's mqdisp's sid, not SYSTEM's.

> SYSTEM:*:18:544:,S-1-5-18::
> mqdisp:unused_by_nt/2000/xp:1007:513:mqdisp,U-TEST1\mqdisp,S-1
-5-21-776561741-19
> 35655697-1343024091-1007:/home/mqdisp:/bin/bash

  I think the real question is, did you use the --user and --passwd options
to cygrunsrv when you installed crond?  This tells cygrunsrv to use the
windoze 'RunAs' service to start crond as the user you choose.


    cheers, 
      DaveK
-- 
Can't think of a witty .sigline today....


--
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