delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/03/20/13:43:47

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Fri, 20 Mar 2009 18:43:30 +0000
Message-ID: <af075b00903201143q1ce21219g3643c0e67e8994ac@mail.gmail.com>
Subject: [1.7] passwd: useless if used with a logged on domain user
From: Julio Emanuel <costaju AT gmail DOT com>
To: Cygwin Mailing list <cygwin AT cygwin DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi,

I've been tracing some problems related to the installation scripts of
ssh (more info on another mail later), and the root cause for one of
the problems is the passwd misbehaving.
The test case is very simple. Log on with a domain user on a cygwin
shell. My particular case, it's an local Administrator, but not Domain
Admin (as 99% of users in a corporate network out there, I suppose).

~ $ id
uid=18606(security) gid=10513(Domain Users)
groups=0(root),544(Administrators),545(Users),10513(Domain Users)

Now, just try to do pretty much anything with passwd:

~ $ passwd -v
passwd (cygwin) 1.5
Password Utility
Copyright 1999, 2000, 2001, 2002, 2003 Red Hat, Inc.
Compiled on Mar 11 2009

~ $ passwd
passwd: unknown user security

~ $ passwd SYSTEM
passwd: unknown user security

~ $ passwd Administrator
passwd: unknown user security

Am I missing something here?
How can I make it work with local users, when I'm logged on with a Domain user?

___________
Julio Costa

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