delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/01/31/08:26:00

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <004f01c2c92c$44ce25e0$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "James Begley" <james AT hafro DOT is>, <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019