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]

Re: More problems with cron


On Tue, Jun 25, 2002 at 09:40:53AM -0400, Peter Buckley wrote:
> The SYSTEM user does not have access to network drives.

Full stop.

>  You might try 
> giving it *all* NT rights, but that could be dangerous. And even then it 

SYSTEM already has all user rights.  It's *the* system.
And you can't use another account for running the cron
daemon since it requires to be SYSTEM.

> >I'm still having problems with cron jobs accessing
> >other machines.  I've tried writing directly to
> >network drives, rsh'ing to the other machine, and
> >making the SYSTEM user part of the Administrator
> >group, but nothing I've tried works.

There's no need to do that since all user rights given to
the Administrators group are a subset of the rights given
to SYSTEM.

Except for direct network drive access you should be able
to connect to other machines using ssh/rsh or so, though.
But you should do that running the cron job under another
account than SYSTEM.

> >My CYGWIN env var is set to "binmode export ntsec tty"
> >but when I do "echo $CYGWIN" from bash, it's not set. 
> >Could this have something to do with it?

Where did you set that variable?   In the system environment?
In the user environment?  In cygwin.bat?  In /etc/profile?
Elsewhere?

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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