This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cron and NT domains


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]