www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/22/14:22:28

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sun, 22 Mar 2009 20:22:05 +0100
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: <20090322192205.GH9322@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <af075b00903201143q1ce21219g3643c0e67e8994ac AT mail DOT gmail DOT com> <20090321101004 DOT GU9322 AT calimero DOT vinschen DOT de> <20090322100907 DOT GA9322 AT calimero DOT vinschen DOT de> <af075b00903221034v180e635aka114fcde43f6cf00 AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <af075b00903221034v180e635aka114fcde43f6cf00@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 Mar 22 17:34, J?lio Costa wrote:
> ~ $ # Just typed Ctrl-C. Not in the mood right now :)
> ~ $ # And now for the interesting part:
> ~ $ ./my_passwd.exe -S SYSTEM
> my_passwd: unknown user SYSTEM

The SYSTEM user is not in the user database.  So that's an expected
result.

> ~ $ # Ooops. And what about
> ~ $ ./my_passwd.exe -S Administrator
> You have no maintenance privileges.

I can't reproduce this one, but maybe that's just a different case of
the same as this one:

> ~ $ # Ouch. If I may insist:
> ~ $ ./my_passwd.exe -d $HOSTNAME -S Administrator
> my_passwd: unknown user security

I applied another fix to passwd to decouple the logonserver for fetching
the user info for the running user account from the user info for the
user account which is going to be manipulated by passwd.


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