user name

Corinna Vinschen cygwin@cygwin.com
Tue Aug 21 23:19:00 GMT 2001


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/



More information about the Cygwin mailing list