delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/06/16:18:03

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
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3C868761.7090904@cportcorp.com>
Date: Wed, 06 Mar 2002 16:17:21 -0500
From: Peter Buckley <peter DOT buckley AT cportcorp DOT com>
User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2
X-Accept-Language: en-us
MIME-Version: 1.0
To: Barry Goldstein <bag AT shore DOT net>
CC: cygwin AT cygwin DOT com
Subject: Re: Prompt question
References: <3 DOT 0 DOT 5 DOT 32 DOT 20020306154226 DOT 0097c7b0 AT pop DOT shore DOT net> <3 DOT 0 DOT 5 DOT 32 DOT 20020306160958 DOT 00970800 AT pop DOT shore DOT net>

Hmm... I thought that when cygwin was installed, it did "mkpasswd -l >> 
/etc/passwd", so there was at least something in /etc/passwd. Do you in 
fact have a file in c:\cygwin\bin named mkpasswd.exe?

It actually should just sit there for a long time when you do "mkpasswd 
-d >> /etc/passwd". It is adding all the users from the NT domain to the 
passwd file. You can do a "mkpasswd -d | grep bgoldstein >> 
/etc/passwd", that will take the same amount of time but only put your 
username in the passwd file (where bgoldstein is your username).

HTH,
Peter

Barry Goldstein wrote:

> Sorry, but I'm a unix-newbie:
> 
> My /etc/passwd file is in fact a 0-byte file.
> 
> But when I type what you suggest
> 	mkpasswd -d >> /etc/passwd
> it just sits there for a long time (and so I kill it with Ctrl-C.
> 
> And 'man mkpasswd' says it knows not what I ask.
> 
> ???
> 
> BG
> 
> =================
> 
> At 03:45 PM 3/6/2002 -0500, Peter Buckley wrote:
> 
>>I would guess it gets the "I have no name!" thing because you need to do 
>>a "mkpasswd -d >> /etc/passwd". I don't think your domain username is in 
>>the passwd file, so it doesn't know who you are.
>>
>>HTH,
>>Peter
>>
>>
>>-- 
>>1 Timothy 4:12 (NIV)- Don't let anyone look down on you because you are 
>>young, but set an example for the believers
>>in speech, in life, in love, in faith, and in purity.
>>
>>Barry Goldstein wrote:
>>
>>
>>>In the bash shell, my prompt seems to be the two lines below
>>>	I have no name!@INUK ~
>>>	$ 
>>>INUK is the machine name (NT4), and '~' is my home directory, but where
>>>does the thing get the 'I have no name' thing and how can I change it?
>>>
>>>Thanks.
>>>
>>>BG
>>>
> 
> ==
> Barry Goldstein              Pequod Software
> 124 Otis Street              bag AT shore DOT net
> Newtonville, MA 02460-1846   +1-617-332-5758 (home)
> U.S.A.                       +1-509-756-7445 (fax)
> 
> 



--
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