This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin 1.3.19/bash prompt bug


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]