delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/03/18:22:25

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
Date: Thu, 3 Oct 2002 15:22:17 -0700 (PDT)
From: Alan Westhagen <alan AT westhagen DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: I have no name
In-Reply-To: <Pine.GSO.4.44.0210031801040.13573-100000@slinky.cs.nyu.edu>
Message-ID: <Pine.LNX.4.21.0210031518080.25215-100000@thor.westhagen.com>
MIME-Version: 1.0

Thank you.

That helps a bit.  After running mkpasswd -l, the
$ prompt is now preceded by 

    Administrator@<machine name>

I suppose if I edit the /etc/passwd file to replace
Administrator with my user name, I will be close
to the expected result.  

Apparently my /etc/profile is being ignored.  Is
there any documentation on how the user shell 
stuff is initialized?  Is there another profile
that I should be using, such as .bash_profile?
I have tried to find this sort of file using
the find command, but have not be successful.

On Thu, 3 Oct 2002, Igor Pechtchanski wrote:

> On Thu, 3 Oct 2002, Alan Westhagen wrote:
> 
> > I have just installed cygwin.  When I
> > run the window, the $ prompt is always
> > preceded by the line
> >
> >     I have no name!@<name of computer>
> >
> > What is causing this? and how do I
> > get rid of it?
> >
> > I have defined USER in /etc/profile, but
> > that doesn't seem to have any effect.
> >
> > -- Alan
> 
> Alan,
> 
> Do you have an /etc/passwd on your machine?  If not, run
> 
> 	mkpasswd -l > /etc/passwd
> 
> Otherwise, is your user a local user or a domain one?  For a domain user,
> you need to run
> 
> 	mkpasswd -u username -d domain
> 
> where 'username' and 'domain' are your username and domain.
> Hope this helps,
> 	Igor
> 


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