* cronjobs for non-administrator-User don't work
[not found] <013018D863E447468E7BA72043E2280501879AE27B@HE111508.emea1.cds.t-internal.com>
@ 2011-05-02 11:23 ` Ulrich.Herbst
2011-05-02 11:43 ` Corinna Vinschen
0 siblings, 1 reply; 2+ messages in thread
From: Ulrich.Herbst @ 2011-05-02 11:23 UTC (permalink / raw)
To: cygwin
Hi,
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
D:\cygwin\bin
D:\cygwin\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 ?
Uli
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: cronjobs for non-administrator-User don't work
2011-05-02 11:23 ` cronjobs for non-administrator-User don't work Ulrich.Herbst
@ 2011-05-02 11:43 ` Corinna Vinschen
0 siblings, 0 replies; 2+ messages in thread
From: Corinna Vinschen @ 2011-05-02 11:43 UTC (permalink / raw)
To: cygwin
On May 2 13:23, Ulrich.Herbst@t-systems.com wrote:
> Hi,
>
> 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
> D:\cygwin\bin
> D:\cygwin\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
(*) http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-02 11:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <013018D863E447468E7BA72043E2280501879AE27B@HE111508.emea1.cds.t-internal.com>
2011-05-02 11:23 ` cronjobs for non-administrator-User don't work Ulrich.Herbst
2011-05-02 11:43 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).