delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/30/08:38:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <000e01c326a8$4490d710$644e8ca7@qvc.com>
From: "Chuck Hamilton" <chuckh AT softhome DOT net>
To: cygwin AT cygwin DOT com
Cc: cygwin AT cygwin DOT com
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0305281324370 DOT 12068-100000 AT slinky DOT cs DOT nyu DOT edu> <000901c325c2$748f5720$644e8ca7 AT qvc DOT com> <3ED5F840 DOT 2000209 AT rfk DOT com> <000501c325f8$f0a729b0$644e8ca7 AT qvc DOT com> <3ED639C8 DOT 7080405 AT cygwin DOT com>
Subject: Re: crontab error
Date: Fri, 30 May 2003 08:37:27 -0400
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

------=_NextPart_000_000B_01C32686.B35C9C50
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

I have no "Domain Users" group so I set it to "Users". Still fails to start.
I also tried "Administrators". That didn't work either. I am attaching both
the passwd and group files, as well as listing their permissions.

-rw-rw-rw-    1 isscha   mkgroup_      373 May 29 04:44 /etc/group
-rw-rw-rw-    1 isscha   mkgroup_     1347 May 29 04:44 /etc/passwd
-rwxrwxrwx    1 Administ Users       32256 Apr 15 11:16 /usr/sbin/cron.exe
$ id
$ id
uid=11624(isscha) gid=10513(mkgroup_l_d)
groups=544(Administrators),545(Users),1009(ORA_DBA),10513(mkgroup_l_d)

----- Original Message ----- 
From: "Larry Hall" <cygwin AT cygwin DOT com>
To: "Chuck Hamilton" <chuckh AT softhome DOT net>
Cc: <cygwin AT cygwin DOT com>
Sent: Thursday, May 29, 2003 12:48 PM
Subject: Re: crontab error


> For group, try 'Users' or 'Domain Users', whichever is appropriate.
> The user looks fine.
>
> Larry
>
> Chuck Hamilton wrote:
> > Been there and done that. It doesn't change the ownership of any of the
> > command though. Do I need run a chown on the cron command? If so what
should
> > be owner and group be?
> >
> > ----- Original Message ----- 
> > From: "Larry Hall (RFK Partners, Inc.)" <lhall AT rfk DOT com>
> > To: "Chuck Hamilton" <chuckh AT softhome DOT net>
> > Cc: <cygwin AT cygwin DOT com>
> > Sent: Thursday, May 29, 2003 8:08 AM
> > Subject: Re: crontab error
> >
> >
> >
> >>Chuck Hamilton wrote:
> >>
> >>>It already the permissions set to 777.
> >>>
> >>>-rwxrwxrwx    1 Administ mkgroup_    32256 Apr 15 11:16 cron*
> >>
> >>                            ^^^^^^^^
> >>Ahem.  Here's the problem.  Your /etc/group file is not current.
> >>Rerun mkgroup with the appropriate flags.  You may want to do this
> >>for /etc/passwd too.  If one's not current, more than likely, the
> >>other isn't either.
> >>
> >>
> >>>I did try changing the user the service runs as but it failed with a
> >
> > logon
> >
> >>>error so I changed it back to LocalSystem. It seems like it's got to be
> >
> > some
> >
> >>>kind of Win2k permissions thing. If I run cron from a cygwin session,
it
> >>>works fine. If I run it as a service it fails to start. I've tried
> >
> > adding
> >
> >>>the cygwin /usr/bin and /usr/lib directories to my Win2k path but that
> >>>didn't help either (though now I can run cygwin commands from a DOS
> >
> > prompt
> >
> >>>if I want).
> >>
> >>
> >>
> >>-- 
> >>Larry Hall                              http://www.rfk.com
> >>RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> >>838 Washington Street                   (508) 893-9889 - FAX
> >>Holliston, MA 01746
> >>
> >
> >
> >
> > --
> > 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/
> >
> >
>
>
> -- 
> Larry Hall                              http://www.rfk.com
> RFK Partners, Inc.                      (508) 893-9779 - RFK Office
> 838 Washington Street                   (508) 893-9889 - FAX
> Holliston, MA 01746
>

------=_NextPart_000_000B_01C32686.B35C9C50
Content-Type: application/octet-stream;
	name="passwd"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="passwd"

SYSTEM:*:18:544:,S-1-5-18::=0A=
Administrators:*:544:544:,S-1-5-32-544::=0A=
Administrator:unused_by_nt/2000/xp:500:513:U-QSD052234\Administrator,S-1-=
5-21-1422541085-2059022874-245701524-500:/home/Administrator:/bin/bash=0A=
ASPNET:unused_by_nt/2000/xp:1012:513:ASP.NET Machine =
Account,U-QSD052234\ASPNET,S-1-5-21-1422541085-2059022874-245701524-1012:=
/home/ASPNET:/bin/bash=0A=
Guest:unused_by_nt/2000/xp:501:513:U-QSD052234\Guest,S-1-5-21-1422541085-=
2059022874-245701524-501:/home/Guest:/bin/bash=0A=
isscha:unused_by_nt/2000/xp:1011:513:Chuck =
Hamilton,U-QSD052234\isscha,S-1-5-21-1422541085-2059022874-245701524-1011=
:/home/isscha:/bin/bash=0A=
oracle:unused_by_nt/2000/xp:1010:513:Oracle,U-QSD052234\oracle,S-1-5-21-1=
422541085-2059022874-245701524-1010:/home/oracle:/bin/bash=0A=
patrol:unused_by_nt/2000/xp:1013:513:patrol,U-QSD052234\patrol,S-1-5-21-1=
422541085-2059022874-245701524-1013:/home/patrol:/bin/bash=0A=
SMSCliSvcAcct&:unused_by_nt/2000/xp:1006:513:SMSCliSvcAcct&,U-QSD052234\S=
MSCliSvcAcct&,S-1-5-21-1422541085-2059022874-245701524-1006:/home/SMSCliS=
vcAcct&:/bin/bash=0A=
SMSCliToknAcct&:unused_by_nt/2000/xp:1007:513:SMSCliToknAcct&,U-QSD052234=
\SMSCliToknAcct&,S-1-5-21-1422541085-2059022874-245701524-1007:/home/SMSC=
liToknAcct&:/bin/bash=0A=
isscha:unused_by_nt/2000/xp:11624:10513:isscha,U-QVCDEV\isscha,S-1-5-21-1=
80174464-26870987-2032345518-1624:/cygdrive/h:/bin/bash=0A=

------=_NextPart_000_000B_01C32686.B35C9C50
Content-Type: application/octet-stream;
	name="group"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="group"

SYSTEM:S-1-5-18:18:=0A=
None:S-1-5-21-1422541085-2059022874-245701524-513:513:=0A=
Administrators:S-1-5-32-544:544:=0A=
Backup Operators:S-1-5-32-551:551:=0A=
Guests:S-1-5-32-546:546:=0A=
Power Users:S-1-5-32-547:547:=0A=
Replicator:S-1-5-32-552:552:=0A=
Users:S-1-5-32-545:545:=0A=
ORA_DBA:S-1-5-21-1422541085-2059022874-245701524-1009:1009:=0A=
mkgroup_l_d:S-1-5-21-180174464-26870987-2032345518-513:10513:=0A=


------=_NextPart_000_000B_01C32686.B35C9C50
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_000B_01C32686.B35C9C50--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019