This is the mail archive of the
mailing list for the Cygwin project.
Re: cronjobs for non-administrator-User don't work
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 2 May 2011 13:42:21 +0200
- Subject: Re: cronjobs for non-administrator-User don't work
- References: <013018D863E447468E7BA72043E2280501879AE27B@HE111508.emea1.cds.t-internal.com> <634CFD657E419946BD70654E385A708F12F347BEA9@HE111508.emea1.cds.t-internal.com>
- Reply-to: cygwin at cygwin dot com
On May 2 13:23, Ulrich.Herbst@t-systems.com wrote:
> we have:
> Cygwin Configuration Diagnostics
> Current System Time: Mon May 02 12:26:11 2011
> Windows 2008 R2 Server Enterprise Ver 6.1 Build 7600
> Running under WOW64 on AMD64
> Path: D:\cygwin\usr\local\bin
> SysDir: C:\Windows\system32
> WinDir: C:\Windows
> There, crond is running as service with user .\cyg_serv.
> We have two users:
> user1 with administrator privilege,
> user2 without administrator privilege, but part of the users-group in Windows.
> cronjobs for user1 are working.
> cronjobs for user2 aren't working.
> cron.log shows:
> X-Cron-Env: <LOGNAME=edicsuser>
> 3147 [main] cron 6352 D:\cygwin\usr\sbin\cron.exe: *** fatal error - unable to load C:\Windows\system32\user32.dll, Win32 error 1114
> Stack trace:
> Frame Function Args
> Looking in explorer, I see, that C:\Windows\system32\users32.dll is readable and executable to administrators group and to users group.
> Any idea, why user2 isn't allowed to run cronjobs ?
Not really. If I knew why user32 sometimes failed to load, I would be
glad. However, you didn't mention which authentication method you're
using(*) to switch to another user. Since that's cron, password
authentication isn't an option anyway. From the passwordless methods,
method one is the default, so I assume you're using it. Did you try to
switch to method 2 or 3 and see if that works?
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple