Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <066b01c2264a$a69911c0$eb6610ac@lefeuvrewk2>
From: "Corwin" <Cygwin@ifrance.com>
To: <cygwin@cygwin.com>
Cc: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
References: <3.0.5.32.20020705221649.00851490@mail.attbi.com>
Subject: Re: exim and ntsec 
Date: Mon, 8 Jul 2002 08:42:38 +0200
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

Thanks for your answer Pierre ..
Here is my exim.log when I try to run it from service.
----------------------------------------------------------------------------
-----------------------------------------------------------
CYGWIN = "ntsec". Root / mapped to F:\cygwin.
Starting uid 18 gid 18
root_uid 1001 exim_uid 1001 exim_gid 513
Exim version 4.04 uid=18 gid=18 pid=2508 L=834cd8 D=fff7577f
probably GDBM (native mode)
Exim has no root privilege: uid=18 gid=18 euid=18 egid=18
changed uid/gid: forcing real = effective
  uid=18 gid=18
  auxiliary group list: 0
LOG: MAIN PANIC DIE
  Exim configuration file /usr/local/exim/configure has the wrong owner,
group, or mode
search_tidyup called
>>>>>>>>>>>>>>>>>> Exim pid=2508 terminating with rc=1 >>>>>>>>>>>>>>>>>>
----------------------------------------------------------------------------
-----------------------------------------------------------
I really don't understand, as you can see owner and group id are SYSTEM.
Permissions on configure are as follow:
----------------------------------------------------------------------------
-----------------------------------------------------------
-rw-r--r--    1 18       18          21262 Jul  2 11:58 configure
----------------------------------------------------------------------------
-----------------------------------------------------------
Owned by SYSTEM, readable/writable by SYSTEM and readable only for others.

Here it is .. I'm looking further to check out what's wrong ... This may be
also a CYGWIN permission problem... (This is not the first  problem I have
when using ntsec with a domain user)

Thanks again ..

Thomas


----- Original Message -----
From: "Pierre A. Humblet" <Pierre.Humblet@ieee.org>
To: <cygwin@cygwin.com>
Sent: Saturday, July 06, 2002 4:16 AM
Subject: Re: exim and ntsec


> "Corwin" <Cygwin at ifrance dot com> wrote
>
> >Forgive my lack of knowledge. I saw the Exim has no root privilege
message
> >but what I can't explain (And I am sure you can) is why I got the same
> >message when launching exim with ntsec disabled and why It is working
well
> >then ...
>
> Thomas
>
> I don't see this message without ntsec! Running without ntsec is all
> you need if you don't need to setuid to access directories and to set
> permissions.
> To run under ntsec, start exim from cygrunsrv. It is coded to recognize
> uid 18.
> If you have problems, add the arguments -c -d (in cygrunsrv -I..  -a
"...")
> and look at the debug output in /var/log/exim.log, in addition to the
> logfiles.
>
> I assume you fixed the permissions problems of configure (previous
messages).
> With ntsec it must be owned by SYSTEM and other users cannot have write
> access.
>
> Pierre
>
> P.S.: Please cc me on this, I don't subscribe to the list.
>
> --
> 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/
>

 
______________________________________________________________________________
ifrance.com, l'email gratuit le plus complet de l'Internet !
vos emails depuis un navigateur, en POP3, sur Minitel, sur le WAP...
http://www.ifrance.com/_reloc/email.emailif



--
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/

