delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/17/04:03:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Wed, 17 Jun 2009 10:03:10 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Possible bug in passwd cygwin 1.7, "you may not change the password for"
Message-ID: <20090617080310.GG5039@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1c0d744b0906161652h27baf887p84397967215e04c1 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <1c0d744b0906161652h27baf887p84397967215e04c1@mail.gmail.com>
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 Jun 16 16:52, Jerry A wrote:
> Hi,
> 
> I am a "local administrator" on an otherwise locked down corporate
> laptop that is running XP and currently, cygwin 1.7, the beta.
> 
> I was running the released version of cygwin and having problems
> installing sshd and passwd.  I found a thread from back in March
> regarding passwd working in domain controlled networks in Cygwin 1.7.
> So I uninstalled, downloaded, and reinstalled, and with a bit of
> trepidation found that my rxvt shells and everything else still seemed
> to be working.  Very nice.
> 
> So I installed sshd and that install seemed to go just fine and I got
> the daemon running, and now I want to change the local passwd.
> 
> So I tried
> $ passwd
> and went through the conversation of old, new, and new, to get:
> "You may not change the password for ..."

If it asked you for your old password, the account is no admin account.

> Is there a way to change the password on the local machine?  Or will
> cygwin in the corporate domain environment always rely on the current
> domain password?
> 
> I couldn't figure out if this was a bug, or a feature needing a bit
> more documentation in passwd --help

The error message is an Access Denied type of message returned by the
Windows function to change the password.

There's no way to tell you why that is without knowing your environment
and generally have more details.  For instance, one reason that it
failed could be that you tried to change the password from a ssh session
using public-key authentication.  Did you read the new User's Guide?
http://cygwin.com/1.7/cygwin-ug-net/ntsec.html#ntsec-setuid-overview


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/

- Raw text -


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