delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 30 Mar 2009 10:21:08 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [1.7] passwd: useless if used with a logged on domain user |
Message-ID: | <20090330082108.GN12738@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <49CED4C7 DOT 2020501 AT cwilson DOT fastmail DOT fm> |
MIME-Version: | 1.0 |
In-Reply-To: | <49CED4C7.2020501@cwilson.fastmail.fm> |
User-Agent: | Mutt/1.5.19 (2009-02-20) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On Mar 28 21:54, Charles Wilson wrote: > Corinna, > > Do your recent changes to passwd > http://cygwin.com/ml/cygwin/2009-03/msg00799.html > > address this issue: > http://www.cygwin.com/ml/cygwin/2008-10/msg00370.html > 6. (Vista) error in setting cyg_server passwd expiry > > (Recap: 'passwd -e cyg_server' doesn't work when *current* user ('herb') > is a domain user, attempting to set the expiry of a local user > ('cyg_server'). > > > passwd: unknown user herb > > *** Warning: Setting password expiry for user 'cyg_server' failed! > > *** Warning: Please check that password never expires or set it to your needs. > > > > The command that generates the unknown user error is "passwd -e > > cyg_server" from the csih script. Note that it complains about the login > > user, not the cyg_server user. > > I'd test it myself, but I don't have a domain (server) to play with... That should be fixed now. The error message was generated because the same server was asked for the user account of the current user as for the user account which was about to be changed. The latest change removed any such check for the current user by just testing for admin privileges in the user's token. I'll upload a 1.7.0-45 today or tomorrow. I'm just waiting for a patch approval on the newlib list. 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |