This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Windows 2003 Server & Cygwin Cron
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 11 Nov 2003 10:02:53 +0100
- Subject: Re: Windows 2003 Server & Cygwin Cron
- References: <NPEOLGGPKHICABBIJEIBCELECCAA.brian@cruik.org>
- Reply-to: cygwin at cygwin dot com
On Mon, Nov 10, 2003 at 03:26:07PM -0700, Brian Cruikshank wrote:
> I have tried putting
> the everyone group on the Local Security policies for "Create a token
> object", "Logon as service", and "Replace a process level token". The
> problem still happens.
URGH! Don't do this. Remove the Everyone group from these rights
again. The easiest way is to follow the ssh-host-config script in
creating a special account:
net user cron_server <passwd> /add /yes
net localgroup <administrators_group_name> cron_server /add
editrights -a SeAssignPrimaryTokenPrivilege -u cron_server
editrights -a SeCreateTokenPrivilege -u cron_server
editrights -a SeIncreaseQuotaPrivilege -u cron_server
editrights -a SeServiceLogonRight -u cron_server
mkpasswd -l -u cron_server >> /etc/passwd
For security reasons:
editrights -a SeDenyInteractiveLogonRight -u cron_server
editrights -a SeDenyNetworkLogonRight -u cron_server
editrights -a SeDenyRemoteInteractiveLogonRight -u cron_server
And then create a cron service using that account:
cygrunsrv -I cron -p /usr/sbin/cron -a -D -u cron_server -w <passwd>
> By the way, I see reference to a cron README file that should have been in
> the install. I cannot find it anywhere yet. Did it get lost in the new
> releases or is it hiding somewhere other than /usr/doc?
/usr/share/doc/...
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
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/