This is the mail archive of the
mailing list for the Cygwin project.
RE: cron problem with authentication
- From: "Dave Korn" <dk at artimi dot com>
- To: "'Cygwin List'" <cygwin at cygwin dot com>
- Date: Thu, 27 May 2004 13:16:03 +0100
- Subject: RE: cron problem with authentication
> -----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
> The PS shows that cron is running as SYSTEM,
> I hope the above better explains my problem.
> 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.
>  MQSeries
> Type: WARNING
> Computer: TEST1
> Time: 2004/05/27 10:50:14 ID: 8074
> Authorization failed as the SID
> 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.
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.
Can't think of a witty .sigline today....
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html