Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: jari aalto To: cygwin AT sources DOT redhat DOT com Subject: Re: mkpasswd - mkgroup inconsistency in W2K Professional (cron problem) Keywords: cron,cygrunsrv,service,error,process,information,event,cygwin X-Sender-Info: Emacs resources http://tiny-tools.sourceforge.net/ http://home.eu.org/~jari/homepage.html. ICQ 'jari-aalto' 82313129 PGP 2.6.x keyid 47141D35 http://www.pgpi.net/ References: <200107252352 DOT f6PNqug24349 AT kielo DOT uta DOT fi> <200107262306 DOT CAA08664 AT smtp2 DOT koti DOT soon DOT fi> Date: Fri, 27 Jul 2001 22:27:02 +0300 Message-ID: Lines: 61 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > > > > 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 AT 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 AT 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/