delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/07/31/08:49:00

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; q=dns; s=
default; b=kKlaamUWV/Bn2W0GaOLkAHf3fagTZSYY5BH1ItrAqo+M9j2TH0Zaf
Sw5fNuonUBI5w1Nc5sdYZFDOs0pCPu87fr5MyfU71/Tjcf1ttXG1a7dMC6GNTF5B
yCA2fkY1NtTLHMyIoQXkYN/UOYzRCfcUO6XolfBERZnaTeElQDQLlg=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:references
:mime-version:content-type:content-transfer-encoding; s=default;
bh=Xso9uIqJaSsbLZMDv8YjRYNn7EE=; b=NKvt++huaSvs6vHd+H8mWNf0YBYu
fEgqaz3NCBLqJyyc9qWV9vZuDCu2U9z8jn7HEGMX7BBJZIUQu7JtnHbXB0m+4Dot
FYNUYoOOtmQR1N6YUSD/kwATZN+qnPNxAtnSNToP3+5xK25Ex9vCXXFgWaBo+BRc
bghbii+u89/FXbM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2
X-HELO: plane.gmane.org
To: cygwin AT cygwin DOT com
From: "D. Boland" <daniel AT boland DOT nl>
Subject: Re: The eternal uid issue
Date: Thu, 31 Jul 2014 14:53:05 +0200
Lines: 31
Message-ID: <53DA3C31.3ACB14DF@boland.nl>
References: <20140723152357 DOT GA24446 AT calimero DOT vinschen DOT de> <53D0AD3A DOT 1FDF0B3F AT boland DOT nl> <20140724135222 DOT GD12212 AT calimero DOT vinschen DOT de> <53D17DCD DOT 726524E0 AT boland DOT nl> <20140725124200 DOT GC8725 AT calimero DOT vinschen DOT de> <53D604BC DOT 1CBD4557 AT boland DOT nl> <20140728091409 DOT GA25860 AT calimero DOT vinschen DOT de> <53D6373A DOT 193E3E47 AT boland DOT nl> <20140728115308 DOT GA11725 AT calimero DOT vinschen DOT de> <53D7A371 DOT BB5912EB AT boland DOT nl> <20140730131047 DOT GL25860 AT calimero DOT vinschen DOT de>
Mime-Version: 1.0
X-IsSubscribed: yes

Corinna Vinschen wrote:
> 
> On Jul 29 15:36, D. Boland wrote:
> > Corinna Vinschen wrote:
> > > The permissions of the home folder are set to 01777 by default (S_ISVTX
> > > bit!).  Since we can't rely on central administration for Cygwin, this
> > > allows a user to create her own homedir automatically at first start of
> > > a Cygwin shell.
> > >
> > > You might consider to disable this full patch check in sendmail for
> > > Cygwin.  Is there some configuration flag, maybe?
> > >
> >
> > If I make the 'Users' group owner of the /home folder and remove the world-writable
> > bit, Sendmail doesn't complain anymore. I found out that everybody who is logged on,
> > will be put in the 'Users' group anyway.
> 
> Uhm... that works for you, but you can't rely on that for a sendmail
> package.  You'd have to deal with the default 01777 /home as well.

Yes, yes, I know. Cygwin shouldn't want to lock their users out of their own system.
Sendmail is a real b&^ch with security. This project cost me 2 1/2 weeks straight,
trying to figure out a way to accomodate its strict impersonation rules on a system
which has multiple root users. But I did it. No hacking in the sendmail source code.

Anyway, today I tested it succesfully on my Win7 machine (32bit Cygwin), but no
complaining from Sendmail, even with a home folder which is group- and world
writable. Strange.

Cincerely,
Daniel


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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