This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: CRON service under an alternate account
- From: "lhall at pop dot ma dot ultranet dot com" <lhall at pop dot ma dot ultranet dot com>
- To: spamtrap at redterra dot net, cygwin at cygwin dot com
- Date: Tue, 10 Dec 2002 10:55:25 -0500
- Subject: RE: CRON service under an alternate account
- Reply-to: lhall at rfk dot com
Original Message:
-----------------
>From: Redterra spamtrap@redterra.net
>Date: Tue, 10 Dec 2002 13:45:41 +0800
>To: cygwin@cygwin.com
>Subject: CRON service under an alternate account
<snip>
>Why is CRON coded to always revert to SYSTEM, and as a consequence, never
>about to access network
>shares, despite the fact that SSHd can be started under alternate
>credentials and gain access to
>network shares? Is there another way to change the account that CRON runs
>under other that
>CYGRUNSRV?
Windows requires the SYSTEM account to permit changing users. Running cron
as a service presumes that it will be available to multiple users and thus
need to impresonate the other users. If you don't need this, perhaps you
want to try running cron directly from your shell. You may find it useful
to review the security section of the Cygwin User's Guide:
http://cygwin.com/cygwin-ug-net/ntsec.html
Larry
--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.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/