public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Ryan T. Sammartino" <ryants@shaw.ca>
To: Cygwin List <cygwin@cygwin.com>
Subject: cron doesn't run (was: Re: login and ssh: can't authenticate)
Date: Mon, 10 Dec 2001 13:52:00 -0000	[thread overview]
Message-ID: <20011210213759.GA10309@localhost> (raw)
In-Reply-To: <20011208121058.V740@cygbert.vinschen.de>

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/

  parent reply	other threads:[~2001-12-10 21:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-12-07 16:50 login and ssh: can't authenticate Ryan T. Sammartino
2001-12-08  3:14 ` Corinna Vinschen
2001-12-09 11:52   ` Ryan T. Sammartino
2001-12-10 13:52   ` Ryan T. Sammartino [this message]
2001-12-10 15:30     ` cron doesn't run (was: Re: login and ssh: can't authenticate) Ryan T. Sammartino
2001-12-11  0:27       ` Corinna Vinschen
2001-12-11  9:47         ` Ryan T. Sammartino
2001-12-12 11:51         ` Ryan T. Sammartino
2001-12-11  7:06 ASH, JAMES (SBCSI)
2001-12-11  7:07 ASH, JAMES (SBCSI)
2001-12-11  8:38 ` Corinna Vinschen
2001-12-11 11:36   ` Ryan T. Sammartino

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20011210213759.GA10309@localhost \
    --to=ryants@shaw.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).