From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32223 invoked by alias); 10 Dec 2001 21:39:24 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Received: (qmail 31903 invoked from network); 10 Dec 2001 21:38:05 -0000 Received: from unknown (HELO shawcable.net) (24.83.101.198) by sources.redhat.com with SMTP; 10 Dec 2001 21:38:05 -0000 Received: by shawcable.net (Postfix, from userid 501) id 9652A1442B; Mon, 10 Dec 2001 13:37:59 -0800 (PST) Date: Mon, 10 Dec 2001 13:52:00 -0000 From: "Ryan T. Sammartino" To: Cygwin List Subject: cron doesn't run (was: Re: login and ssh: can't authenticate) Message-ID: <20011210213759.GA10309@localhost> Mail-Followup-To: "Ryan T. Sammartino" , Cygwin List References: <20011207234631.GA1429@localhost> <20011208121058.V740@cygbert.vinschen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20011208121058.V740@cygbert.vinschen.de> User-Agent: Mutt/1.3.23.1i X-Mailer: Mutt http://www.mutt.org/ X-URL: http://members.shaw.ca/ryants X-SW-Source: 2001-12/txt/msg00553.txt.bz2 On Sat, Dec 08, 2001 at 12:10:58PM +0100, Corinna Vinschen wrote: > UID 18 is reserved for SYSTEM. You can't get user authentication > working for your account just by giving yourself uid 18. Run sshd > as service under LocalSystem account. Revert your /etc/passwd to > use UID 18 for SYSTEM. cron needs the same setting, btw. Great! Now I can ssh into my system... thanks Corinna. Unfortunately, now cron seems to be broken: >From /etc/passwd: ryans:unused_by_nt/2000/xp:12136:10513:Ryan T. Sammartino,U-*****\ryans,S-1-5-******:/home/ryans:/bin/bash ps -a says: 848 1 848 848 con 12136 13:19:09 /usr/bin/bash 1580 1 1580 1580 ? 18 13:27:19 /usr/bin/cygrunsrv 484 1580 1580 1484 ? 18 13:27:19 /usr/sbin/cron 1616 1 1616 1616 ? 18 13:28:08 /usr/bin/cygrunsrv 984 1616 1616 1088 ? 18 13:28:08 /usr/sbin/sshd My crontab has: MAILTO=rsammartino@ea.com 30 13 * * * notepad but, 1:30 PM came and went, and no notepad popped up. Nothing else I stick in there seems to work either, including simple "echo Cron works!" type stuff (and yes, I do have ssmtp configured correctly). I started cron with cygrunsrv -I cron -p /usr/sbin/cron -a -D cygrunsrv --start cron Any help would be greatly appreciated. -- Ryan T. Sammartino (ryants@shaw.ca) http://members.shaw.ca/ryants/ A man can have two, maybe three love affairs while he's married. After that it's cheating. -- Yves Montand -- 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/