This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: cron and NT domains
- From: David MacMahon <davidm at smartsc dot com>
- To: cygwin at cygwin dot com
- Date: Mon, 8 Jul 2002 22:08:05 -0700
- Subject: Re: cron and NT domains
- References: <20020708114949.GB2248@tishler.net>
On Mon, Jul 08, 2002 at 07:49:49AM -0400, Jason Tishler wrote:
> On Sun, Jul 07, 2002 at 05:34:09PM -0700, David MacMahon wrote:
> > If I'm wrong and there is a way to get cron to run crontabs for domain
> > users, please let me know how.
>
> AFAICT, there is no difference with setting up cron for local and domain
> users. I have cron running at home with local users and at work with
> domain users. I just followed the instructions in:
>
> /usr/doc/Cygwin/cron.README
>
> and it works in both cases.
I, too, have followed the instructions in cron.README as well as the
mailing list archives. I am pretty confident that my Cygwin setup is
correct since I can telnet and ftp to my computer and login as a domain
user or a local user and things work fine. With cron, though, I am
unable to have my domain user's crontab execute because of the "can't
switch user context" error. I am, however, able to have my local user's
crontab execute.
Is your machine at work running NT/2K/XP and using CYGWIN=ntsec? Can
you send me your /etc/passwd and /etc/group files? Did you use '-e
CYGWIN=ntsec' in the cygrunsrv command that installed cron as a service?
Thanks,
Dave
--
David MacMahon, President
Smart Software Consulting
http://www.smartsc.com
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/