This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cron doesn't run (was: Re: login and ssh: can't authenticate)


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]