X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Date: Fri, 16 Dec 2011 15:54:56 -0600 From: Mike Brown To: cygwin AT cygwin DOT com Subject: Re: cron still not working - even after rerunning cron config Message-ID: <20111216215456.GH14806@mrvideo.vidiot.com> References: <20111216203108 DOT GE14806 AT mrvideo DOT vidiot DOT com> <016b01ccbc38$b7885f20$26991d60$@ieee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <016b01ccbc38$b7885f20$26991d60$@ieee.org> User-Agent: Mutt/1.5.17 (2007-11-01) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Fri, Dec 16, 2011 at 04:21:45PM -0500, Pierre A. Humblet wrote: > Yes, it is in /var/cron/tabs/ Found it. I went looking for "tabs" and found it. > Problems like this have been reported when a user xxxx is both a local user > and a domain user (2 xxxx entries in /etc/passwd). > Cron with suid to the 1st matching passwd entry I'm only in the passwd file once: SYSTEM:*:18:544:,S-1-5-18:: Administrators:*:544:544:,S-1-5-32-544:: Administrator:unused_by_nt/2000/xp:500:513:U-SATELLITE\Administrator,S-1-5-21-1957994488-1960408961-725345543-500:/home/Administrator:/bin/bash ASPNET:unused_by_nt/2000/xp:1004:513:ASP.NET Machine Account,U-SATELLITE\ASPNET,S-1-5-21-1957994488-1960408961-725345543-1004:/home/ASPNET:/bin/bash Guest:unused_by_nt/2000/xp:501:513:U-SATELLITE\Guest,S-1-5-21-1957994488-1960408961-725345543-501:/home/Guest:/bin/bash HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant Account,U-SATELLITE\HelpAssistant,S-1-5-21-1957994488-1960408961-725345543-1000:/home/HelpAssistant:/bin/bash SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft Corporation,L=Redmond,S=Washington,C=US,U-SATELLITE\SUPPORT_388945a0,S-1-5-21-1957994488-1960408961-725345543-1002:/home/SUPPORT_388945a0:/bin/bash Vidiot:unused_by_nt/2000/xp:1003:513:U-SATELLITE\Vidiot,S-1-5-21-1957994488-1960408961-725345543-1003:/home/Vidiot:/bin/zsh sshd:unused:1005:513:sshd privsep,U-SATELLITE\sshd,S-1-5-21-1343024091-507921405-839522115-1005:/var/empty:/bin/false So, I saved a copy of my crontab with -l. I then did a -r. The .../tabs/Vidiot was then removed, I then did a -e and read in the contents of the saved file and reset the entry to touch the file in /tmp. Same damn error. It isn't the wrong file owner. It belongs to Vidiot:None and is 644. So, in desperation, I reinstalled again, this time setting it to run as me. I do not get the wrong file owner error anymore. This time it says RELOAD (tabs/Vidiot), yet it STILL refuses to run the entry, any entry. I set one of the jobs I normally do and it wouldn't start it. Why is 1.7 having so much trouble with this when 1.5 didn't? MB -- e-mail: vidiot AT vidiot DOT com | vidiot AT vidiot DOT net /~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribbon Campaign [And I'm gonna take us there. Starbuck 3/25/07] X Against Visit - URL: http://vidiot.com/ | http://vidiot.net/ / \ HTML Email -- 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