X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Wed, 9 Apr 2008 17:08:08 -0400 (EDT) From: Vince LaMonica To: cygwin AT cygwin DOT com Subject: cron and Windows 2000 Message-ID: X-Url: http://www.cullasaja.com/ X-Comment: The nearer your destination the more you're slip-sliding away X-Message-Flag: Worried about Outlook viruses? Switch to Pine! Info @ http://vjl.org/pine/ MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Hi all, I recently updated cygwin on a Windows 2000 server box and I am now getting errors when running cron. It is the famous, "can't switch user context" message that I've seen a lot of posts about. The issue is that I am not running Windows 2003 server, but rather Windows 2000 server. Cygwin has been installed for 'all to run', and the cron jobs are/were created by user, "Administrator". I have attempted to create a "cron_user" user, giving that user special permissions ["Act as part of the operating system", "replace a process level token", and "Increase quotas"]. After creating the user, I ran mkpasswd -l so now /etc/passwd has that user listed. When I attempt to su into that account so I can try and run cron-config under that account, I get the error, "su: incorrect password, or insufficient privileges to change user (see http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid): Permission denied" I read the section, which is why I made sure that the 3 special permissions were granted to that user. So I am a bit stuck: I need to be able to run cron as ...well, someone! I would perfer to run cron as Administrator, since that is the only user who logs into the console and the only user with a crontab. Is there something obvious I am missing? Thank for any info y'all can provide, /vjl/ -- Vince J. LaMonica Knowledge is knowing a street is one way. vjl AT cullasaja DOT com <*> Wisdom is still looking in both directions. Donate today, please: http://www.cancer.org/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/