This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: user name


On Tue, Aug 21, 2001 at 10:05:24PM -0700, Ze Zhang wrote:
> I have just installed cygwin. The shell prompt shows
> "I have no name!@Equestrian/home "
> 
> How do I get a usename ? Is it supose to be like unix/linux, where
> you can adduser ? or cygwin suppose to pickup info from WINDOWS.

It picks up the name from /etc/passwd by calling `id' in /etc/profile.
Check your /etc/passwd. If unsure, regenerate it using `mkpasswd'.
While you're at it regenerate /etc/group by using `mkgroup'.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin@cygwin.com
Red Hat, Inc.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]