public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cron as w2k service
@ 2002-04-08  3:03 Ralph Winzinger
  0 siblings, 0 replies; 2+ messages in thread
From: Ralph Winzinger @ 2002-04-08  3:03 UTC (permalink / raw)
  To: cygwin

Hi,

I'm just trying to run cron as an windows 2000 service. I'm currently
facing a prblem which I couldn't solve with the help of mailing-list
archives or any other internet resources for the last two weeks. So
please don't answer 'check the archives ...' ;-)

ntsec is not set

After cygwin installation, I'm running crontab -e to create/edit a
crontab. Works as expected.
After that I'm installing cron as a windows service using the
"CYGWIN=3Dntsec" parameter. Works as expected.
My cronjobs are doing fine.
The problem is, that cron changes the rights for /var/cron/tabs in a way
that I can't write there any more. Thus trying to change the crontab in
future results in a permission denied message.

If I install cron without the ntsec parameter, I'm able to change my
crontab as often as I want. But the tradeoff is, that my jobs are not
executed (can't switch user context).

/etc/passwd and /etc/group should be fine since generated using mk... -l
> /etc/...

if I set the ntsec parameter 'globally' as an windows environment
variable, my rights are somehow messed up: I can't even write in my home
directory or in /tmp ...

Any hints welcome
Ralph

BTW: great tool!



________________________________________________________________
Ralph Winzinger                           100world AG
MiddleWare Center                         Vordere Cramergasse 11
Fon: +49 (0)911 4244-202        	      D-90478 Nürnberg
Fax: +49 (0)911 4244-100      
ralph.winzinger@100world.com              www.100world.com



--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: cron as w2k service
       [not found] <CFBEEF36513E5A48BC73974BE27E88D173149F@nues-exc01-2k.100wo rld.global>
@ 2002-04-08  7:48 ` Larry Hall (RFK Partners, Inc)
  0 siblings, 0 replies; 2+ messages in thread
From: Larry Hall (RFK Partners, Inc) @ 2002-04-08  7:48 UTC (permalink / raw)
  To: Ralph Winzinger, cygwin

At 06:02 AM 4/8/2002, Ralph Winzinger wrote:
>Hi,
>
>I'm just trying to run cron as an windows 2000 service. I'm currently
>facing a prblem which I couldn't solve with the help of mailing-list
>archives or any other internet resources for the last two weeks. So
>please don't answer 'check the archives ...' ;-)
>
>ntsec is not set
>
>After cygwin installation, I'm running crontab -e to create/edit a
>crontab. Works as expected.
>After that I'm installing cron as a windows service using the
>"CYGWIN=3Dntsec" parameter. Works as expected.
>My cronjobs are doing fine.
>The problem is, that cron changes the rights for /var/cron/tabs in a way
>that I can't write there any more. Thus trying to change the crontab in
>future results in a permission denied message.
>
>If I install cron without the ntsec parameter, I'm able to change my
>crontab as often as I want. But the tradeoff is, that my jobs are not
>executed (can't switch user context).



'check the archives ...'   Sorry, I couldn't resist! ;-)

Actually, this is in the archives.  Here's the end of that thread:

http://sources.redhat.com/ml/cygwin/2002-03/msg00236.html



>/etc/passwd and /etc/group should be fine since generated using mk... -l
> > /etc/...
>
>if I set the ntsec parameter 'globally' as an windows environment
>variable, my rights are somehow messed up: I can't even write in my home
>directory or in /tmp ...


Go back and set the permissions as you need/want them.  That's the easiest
way out of this.



Larry Hall                              lhall@rfk.com
RFK Partners, Inc.                      http://www.rfk.com
838 Washington Street                   (508) 893-9779 - RFK Office
Holliston, MA 01746                     (508) 893-9889 - FAX


--
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-08 14:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-08  3:03 cron as w2k service Ralph Winzinger
     [not found] <CFBEEF36513E5A48BC73974BE27E88D173149F@nues-exc01-2k.100wo rld.global>
2002-04-08  7:48 ` Larry Hall (RFK Partners, Inc)

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).