From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24996 invoked by alias); 26 May 2004 07:52:29 -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 24988 invoked from network); 26 May 2004 07:52:28 -0000 Received: from unknown (HELO wamid01.africa.enterprise.root) (196.29.130.201) by sourceware.org with SMTP; 26 May 2004 07:52:28 -0000 Received: from EXMID04.africa.enterprise.root ([172.21.31.140]) by wamid01.africa.enterprise.root with Microsoft SMTPSVC(5.0.2195.6713); Wed, 26 May 2004 09:52:28 +0200 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: cron problem with authentication Date: Wed, 26 May 2004 14:21:00 -0000 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Mike Kenny - BCX - Mngd Services" To: "Cygwin (E-mail)" X-OriginalArrivalTime: 26 May 2004 07:52:28.0009 (UTC) FILETIME=[63FC6590:01C442F6] X-IsSubscribed: yes X-SW-Source: 2004-05/txt/msg00850.txt.bz2 I previously posted a problem where a job failed attaching to an MQ Q Manager when run from cron. The explanation that was provided=20 was that because MQ authenticates the user using the NT services=20 and cron had had to su to that user, bypassing these services, that the user running the job did not then have the correct credentials. This sounds plausible and certainly explains the behaviour I see, but what would be involved in cron checking to see under which user the cygwin session is running and if this is the same user as the cygwin cron service is running under. If they are the same then do not do the change of user? Would this enable the cron job to run with the correct credentials? Or am I totally misunderstanding the problem? I admit that I know little or nothing about either Windows security or how cygwin interacts with it. Thanks for any comments on this -- 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/