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]
Other format: [Raw text]

Re: "unknown user" problem


On Thu, 10 Apr 2003, Dmitriy Kargapolov wrote:

> Hello,
>
> I've installed latest cygwin on my Win2000 using regular NT-user account
> (I have no administrator privileges) and I've got warning when starting
> cygwin:
> "id: cannot find name for user ID 20479"
> and I have next default prompt in bash:
> "I have no name!@<my machine name> ~"
> i.e. cygwin cannot determine my user name...
>
> Related problem - I can not use scp command - it fails with message:
> "unknown user 20479"
>
> next example:
> $ whoami
> whoami: cannot find username for UID 20479
>
> Does anybody know how to setup cygwin so it can distinguish my username?
>
> Might be it LDAP-related problem?
>
> Thanks in advance.

Dmitriy,

Looks like your /etc/passwd is not up to date (and probably /etc/group as
well).  Is your user a domain user by any chance?  If so, read
<http://cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD> for the usage
of the -d option.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Knowledge is an unending adventure at the edge of uncertainty.
  -- Leto II


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