Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Thu, 6 Feb 2003 23:52:30 -0200 From: Isaque Galdino de Araujo To: "Elfyn McBratney" Cc: cygwin AT cygwin DOT com, Ali DOT Naddaf AT trilogy DOT com Subject: Re: username problem Message-Id: <20030206235230.77a2d79f.isaque@uol.com.br> In-Reply-To: <005401c2cd69$fbb46940$d4f786d9@webdev> References: <005401c2cd69$fbb46940$d4f786d9 AT webdev> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Is you user a domain user? If so, you could use: mkpasswd -d -u anaddaf >> /etc/passwd On Wed, 5 Feb 2003 22:57:29 -0000 Elfyn McBratney wrote: > > > I just installed the latest cygwin on my Win2K machine. When I open a > > > shell, my prompt is "t-ow AT naddaf2". On the other hand, "id" reports my > > > username as "anaddaf" which is the username that I use when I login to > > my > > > Win2K machine. I saw similar postings and the suggested solution was to > > > update the /etc/passwd file but in my case, it won't do any good since > > my > > > /etc/password is identical to the "mkpassword -l". > > > > Are you sure they are exaclty the same. No changes in the Sid? Just to be > > on > > the safe side you should update your /etc/{passwd,group} file just to be > > certain that's not whats holding you back. > > > > > What is puzzling me is that the user "anaddaf" which "id" reports > > doesn't > > > even exist in the /etc/passwd, nor does "t-ow". When I open the shell, > > it > > > takes me to the /home/Administrator directory. If I create a file, the > > > "owner/group" of my file will be set to "anaddaf/mkgroup" and again > > > "mkgroup" doesn't even exist in the /etc/group file. > > > > Hmmmm tahts odd :-( What is the contents of your CYGWIN environment > > variable > > > > $ echo $CYGWIN > > Well it was just a hunch...Im going to have to let an expert take over now > :::::::::-) Sorry! > > > Regards, > > Elfyn McBratney > elfyn AT exposure DOT org DOT uk > www.exposure.org.uk > > > > -- > 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/ > -- Isaque Galdino de Araujo Slackware, Agenda VR3, Vim and Cygwin user. http://sites.uol.com.br/isaque Java and C/C++ programmer. -- 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/