Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Mon, 8 Jul 2002 22:08:05 -0700 From: David MacMahon To: cygwin AT cygwin DOT com Subject: Re: cron and NT domains Message-ID: <20020708220805.A1699@SmartSC.com> Mail-Followup-To: cygwin AT cygwin DOT com References: <20020708114949 DOT GB2248 AT tishler DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.22.1i 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/