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: Subject: [1.7] passwd: useless if used with a logged on domain user From: Julio Emanuel To: Cygwin Mailing list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/