Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 From: "Dave Korn" To: Subject: RE: Unavailability of Chsh / ability to change user shell Date: Thu, 18 Aug 2005 18:56:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: ----Original Message---- >From: Igor Pechtchanski >Sent: 18 August 2005 18:47 > On Thu, 18 Aug 2005, Jerrad Pierce wrote: >> [jpierce AT dof-con122 /cygdrive/c]$ passwd >> passwd: unknown user jpierce > > Your user is missing in /etc/passwd. Try "mkpasswd -u jpierce >> > /etc/passwd". Once you have a correct user entry, "passwd" should work. Nope, he's hit a real bug here. It doesn't seem to work for domain users, anyway: dk AT mace /etc> mv passwd passwd.old dk AT mace /etc> mkpasswd -u dk > passwd mkpasswd: Specify one of `-l', `-d' or `-g' dk AT mace /etc> mkpasswd -l -u dk > passwd mkpasswd (257): [2221] The user name could not be found. dk AT mace /etc> mkpasswd -d -u dk > passwd dk AT mace /etc> cat passwd dk:unused_by_nt/2000/xp:11165:10513:Dave Korn,U-ARTIMI_CAM\dk,S-1-5-21-335682923 0-1345131237-316312364-1165:/home/dk:/bin/bash dk AT mace /etc> passwd passwd: unknown user dk dk AT mace /etc> mv passwd.old passwd dk AT mace /etc> cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/