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:[EMAIL PROTECTED]] > Sent: Thursday, October 03, 2002 6:22 PM > To: [EMAIL PROTECTED] > 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/