cronjobs for non-administrator-User don't work
Mon May 2 11:43:00 GMT 2011
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
More information about the Cygwin