The file /etc/passwd needs to be properly created. Type 'man mkpasswd' for better directions than I can give, and search for mkpasswd in the mailing lists. Also http://cygwin.com/cygwin-ug-net/using-utils.html
If that doesn't work, change the environment variable PS1 to something less alarming :) Question to everyone else: Should setup attempt to run mkpasswd as part of the postinstall of cygwin (or any of the shells)? Or at least get a mention in the FAQ? It was a while before I realised this for myself. Dave. > zhlg_shuhan wrote: > > I know to you through cygwin mail list.I am a > beginner of cygwin,so many problems occur when I use it.for example: > > bash always alarms at beginning of new command line: > > "I have no name!@HZ_RD_ZHANGL ~ > > $_ > > > > " > > I want "useradd" command but failed for lack of useradd command. > > how can I name it? > > > > tks.®ards > > zhangliang > > -- 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/