X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=qaAU/9m/bAjykCAZiMuEkG30a6fuMRTlFgp7jVCiAHY4Vn6PwmTM5
	l10cgZYkCCFXnmslWht8tFCHipZngEQyDveKeHUqJYqhzRYJmxVVg/ZA7dTrAxJq
	5+lusTfThts7CX0416iUgtqk6mVG+GqG95bVh0qjAq0d4GywBBcn0U=
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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=RZcG45KfzibkTKttbE9SDsgyTEw=; b=xfGS4u1FxjNW1YjSQsuCLNjb381H
	mr6TA+FzRutgTidF+XcDP9DUX/56IK+5LH9o4QK5HwSAcfBNlYm2tYhmObKwXXrw
	MR4md8vYw9/55XSzisBu5ppOMYipvgGDtrNYj8B+ZX7nq8n+3TyLzLc1tMuRPFQs
	OVe/VCuQVO6dcI4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 16 Jun 2014 15:31:01 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: New Version 1.7.30-1: Passwd -R option. Can only update logged in user.
Message-ID: <20140616133101.GF23700@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <1401759524.11208.YahooMailBasic@web120005.mail.ne1.yahoo.com> <1401883613.49738.YahooMailBasic@web120001.mail.ne1.yahoo.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="zaRBsRFn0XYhEU69"
Content-Disposition: inline
In-Reply-To: <1401883613.49738.YahooMailBasic@web120001.mail.ne1.yahoo.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

--zaRBsRFn0XYhEU69
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Jun  4 05:06, Thomas Fay wrote:
>=20=20
>   Hi,=20
>=20=20=20
>   Recently there was an update to the passwd -R feature in   1.7.30-1
>   which allows you to pipe in a password to the "passwd -R". This is a
>   something that we really need and  the  update is appreciated. :)=20

I'm not sure what you're talking about.  I can't remember that I ever
made such a change and I just checked the source code.  You are prompted
to enter the password twice on the command line and this never changed.

>   There is still an issue in that you can only update the   registry
>   for the user that is currently logged in. In previous versions (such
>   as 1.7.25), an administrator could   update for any user (although
>   the piping feature was unavailable).  In the new version 1.7.30-1,
>   when an attempt to update for   any other user an error is produced
>   stating: Storing password failed: No such file or directory.

Weird.  I tried this with the released Cygwin 1.7.30 and I can't reproduce
this issue.  When running passwd in an elevated shell, I can set and change
the password for other users just fine.

However, the error message "No such file or directory" is generated if
the user account you're trying to set the setuid password for doesn't=20
exist in the passwd DB.


HTH,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--zaRBsRFn0XYhEU69
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTnvGVAAoJEPU2Bp2uRE+gWY4P+wZrMUQ5SanpBo8wBaAzOZA4
MzvYxwEugIjTiq8Kgh7I7LHM1aP0jQQvrc5194Lhn7YYjGOEZOEQ80T7qQfLBLZy
FmJu8Fi+mzwzRpJOm/imWXqLdZotwmBjk7cnqrJddqmG2Zr2VpXvoXvGvEix2BpO
WtI3p1oVDiGrTlnPC5YK3XNqGRoPNL6OYfSM1GSTZSKsoDHnyDc3ZhHrvoXAxwzA
gSssPqZs2a9/e2ZAFo/GQVcVgcNn6Xa8qogpv+h+LMKQNB69UuIY9amXjLuiCS3u
ST9P/Gu/hzFpERcOep38qScTuJFhHPQ5tsmuIyEVBp5rDRKWqPWgeDJmjNRYEghb
nWAIVRM1xf1vZORB7fO94s8JUEsOzuSHhf2dnHZIxrSKXRO+ut2APr43p3J1BIJc
BhQebUyjusgQBQzOZ4Wnz8AONDlLetUeoS6sstaNBtKRDqcyVrumW2hcptvlzgAK
ru/QYWhwCO36R3WNDceoPcegXTIMLgYcnqm0D5zW70JbIMw75/ypimg0zYRV5jI9
ejLEgdAeJ1LfQZnoi5cAdHoqKiZt3YMva2u+iuYAAMU1tJ4X+BEB5xdFHVuGCfql
e5q7wOBDle2FXp/oxMwAWwHI5Htm1hLHR9WWODv6N69ExD0zRlh/G2va456LROQB
RlbJi8FB2TsvT/ObEuyq
=LJbb
-----END PGP SIGNATURE-----

--zaRBsRFn0XYhEU69--
