This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: mkpasswd - mkgroup inconsistency in W2K Professional (cronproblem)
> > > > Is the generaton of mkpasswd and mkgroup correct? I wonder
> > > > why the Administrator is put to group "none", gid 513 ?
> > >
> > > That's correct. On stand-alone machines (no domain) all users
> > > are in group 513 including admin. If you don't want that, you
> > > can change it in /etc/passwd according to the documentation
> > > http://cygwin.com/cygwin-ug-net/ntsec.html
> >
> > Hm. I changed the content as suggested in the pages. Do you see any errors?
> >
> > > > This relates to cron problem that I'm trying to debug, what is
> > > > the cause of the error and how can I help to fix it?
> > > >
> > > > //Administrator@W2KPICASSO /cygdrive/g $ cron
> > > > seteuid: Not owner
> > >
> > > That's probably already fixed in the latest developer snapshots.
> > > Corinna
> >
> > Unfortunately no, I installed cygwin1-20010725.dll and run cron again.
> > Same answer. How can I help more to check this out?
>
> >From the command line? It's very likely that you don't have the
> appropriate privileges. Note that admin users don't have that
> permissions by default. Try starting cron as service from
> cygrunsrv (according to the README) under SYSTEM account.
The problem is with cyrunsrv as well. In W2K there is no SYSTEM account
I could log into according to ControlPanel/ UsersAndPasswords ->
Advanced[tab]/ Local-Users-and-Groups / Users
so as Admin, I ran: (filesystem is FAT32)
cygrunsrv --stop cron && cygrunsrv --remove cron
cygrunsrv -I cron -p /usr/sbin/cron -a -D -e "CYGWIN=tty ntsec"
//root@W2KPICASSO ~ $ cygrunsrv --start cron
cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1062:
The service has not been started.
EventViewer tells:
[exclamation mark]
The description for Event ID ( 0 ) in Source ( cron ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: cron : Win32
Process Id = 0x528 : Cygwin Process Id = 0x528 : `cron' service
stopped.
[error]
The description for Event ID ( 0 ) in Source ( cron ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: cron : Win32
Process Id = 0x528 : Cygwin Process Id = 0x528 : starting service
`cron' failed: execv: 255, error 0.
Am I missing some step?
Jari
--
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/