X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Mon, 23 Mar 2009 17:40:03 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [1.7] passwd: useless if used with a logged on domain user
Message-ID: <20090323164003.GX9322@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <af075b00903201143q1ce21219g3643c0e67e8994ac@mail.gmail.com> <20090321101004.GU9322@calimero.vinschen.de> <20090322100907.GA9322@calimero.vinschen.de> <af075b00903221034v180e635aka114fcde43f6cf00@mail.gmail.com> <20090322192205.GH9322@calimero.vinschen.de> <af075b00903230735i9c228b1s2b0928b698427cd4@mail.gmail.com> <20090323145958.GS9322@calimero.vinschen.de> <af075b00903230833u44399b81jb73bb597cfa4261b@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <af075b00903230833u44399b81jb73bb597cfa4261b@mail.gmail.com>
User-Agent: Mutt/1.5.19 (2009-02-20)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Mar 23 15:33, Julio Costa wrote:
> On Mon, Mar 23, 2009 at 14:59, Corinna Vinschen wrote:
> > Using CheckTokenMembership isn't quite the way to go.  If I understand
> > you right that the idea is just checking if the token contains the
> > well-known Administrators group, I'll check in something equivalent.
> 
> Ok. I'll be waiting for the a new check-in, then.

I've applied another patch to passwd which now checks admin membership
by inspecting the token groups of the calling user.  As you proposed,
the default is now the local machine, unless trying to change the
caller's password itself.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

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

