Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <3C868761.7090904@cportcorp.com>
Date: Wed, 06 Mar 2002 16:17:21 -0500
From: Peter Buckley <peter.buckley@cportcorp.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@shore.net>
CC: cygwin@cygwin.com
Subject: Re: Prompt question
References: <3.0.5.32.20020306154226.0097c7b0@pop.shore.net> <3.0.5.32.20020306160958.00970800@pop.shore.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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@shore.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/

