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 Message-ID: <004f01c2c92c$44ce25e0$78d96f83@pomello> From: "Max Bowsher" To: "James Begley" , References: <200301311321 DOT h0VDLHZY028225 AT hafbeit DOT hafro DOT is> Subject: Re: Cygwin 1.3.19/bash prompt bug Date: Fri, 31 Jan 2003 13:25:48 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 James Begley wrote: >> I've just posted about the same issue :) You are missing the entry >> for >> james in the /etc/passwd file. Update the passwd database with >> mkpasswd >> and you should be fine. > > Thanks for that - I have now got it to work, but it wasnt quite as > simple as it should have been! > > The 'administrator' account (that I use infrequently to > install/update software) is an account local to this PC. The 'james' > account (which I use all the time) is a network account, and doesnt > show up in the Microsoft "users and passwords" tool. > > So, after rummaging around in the registry to find out what the 'SID' > of the network account was, I manually added this to the /etc/passwd > file (using the helpful hints at > http://www.cygwin.com/cygwin-ug-net/ntsec.html) How about: $ mkpasswd -d -u james >> /etc/passwd No registry fiddling involved. Max. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/