delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/10/04/15:49:07

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
X-MIMEOLE: Produced By Microsoft Exchange V6.0.4417.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Subject: RE: I have no name
Date: Fri, 4 Oct 2002 15:48:52 -0400
Message-ID: <BADF3C947A1BD54FBA75C70C241B0B9E762F70@ex02.idirect.net>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
From: "Harig, Mark A." <maharig AT idirect DOT net>
To: "Alan Westhagen" <alan AT westhagen DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g94Jn6602610

Try installing the 'base-files' and 'base-passwd' packages using
setup.exe.  Among other things, these will set up your password/group
entries and create a /etc/profile that defines some environment
variables for you.  These two packages are listed in the 'Base'
category.

> -----Original Message-----
> From: Alan Westhagen [mailto:alan AT westhagen DOT com]
> Sent: Thursday, October 03, 2002 6:22 PM
> To: cygwin AT cygwin DOT com
> Subject: Re: I have no name
> 
> 
> 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/
> 
> 

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