| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| Date: | Mon, 10 Dec 2001 13:37:59 -0800 |
| From: | "Ryan T. Sammartino" <ryants AT shaw DOT ca> |
| To: | Cygwin List <cygwin AT cygwin DOT com> |
| Subject: | cron doesn't run (was: Re: login and ssh: can't authenticate) |
| Message-ID: | <20011210213759.GA10309@localhost> |
| Mail-Followup-To: | "Ryan T. Sammartino" <ryants AT shaw DOT ca>, |
| Cygwin List <cygwin AT cygwin DOT com> | |
| References: | <20011207234631 DOT GA1429 AT localhost> <20011208121058 DOT V740 AT cygbert DOT vinschen DOT de> |
| Mime-Version: | 1.0 |
| 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 |
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 AT ea DOT 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 AT shaw DOT 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |