Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <2C08D4EECBDED41184BB00D0B74733420473ED9E@exchanger.cacheflow.com> From: "Karr, David" To: cygwin AT cygwin DOT com Subject: RE: whoami and ownership Date: Tue, 26 Jun 2001 11:34:30 -0700 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" I'd like to know the best answer for this also. I just searched the archive, and I only find the statements about using "mkpasswd -d > /etc/passwd". I can't find any statement from Corinna (or anyone else) saying to do something different. In my case, I eventually just hand-edited the passwd file and added a line for myself. For some reason, running "mkpasswd -d" gives me lots of names of people on the network, but NOT mine. (and note that using Outlook for mailing lists (others probably work similarly), in order to write a response to a note so that it goes to the list, I have to "Reply to All", and then MANUALLY remove the personal names from the "To" list. If I just do a "Reply", the note ONLY goes to the original poster. Part of the problem with notes going to people instead of the list is that the most common tool people will likely be using for mailing lists forces us to take manual steps to get it right. When I respond to notes in GNUS, it just "does the right thing".) -----Original Message----- From: Larry Hall (RFK Partners Inc) [mailto:lhall AT rfk DOT com] Sent: Tuesday, June 26, 2001 10:26 AM To: JROZYCKI AT ebmail DOT gdeb DOT com; cygwin AT cygwin DOT com Subject: Re: whoami and ownership At 01:00 PM 6/26/2001, JROZYCKI AT ebmail DOT gdeb DOT com wrote: >When I run whoami, it echoes "Administrator" but my NT login id is "jrozycki" > >How do I switch this so that when I create directories it puts the correct >username? Mostly I want >to fix this for ssh. When I run ssh - it keeps trying to create >/home/Administrator/.ssh but can't. >I have tried changing some environmental variables such as: >export USER=jrozycki and export USERNAME=jrozycki but this did not work. > You should go looking in the email archives for Corinna's response to this question. I forget the details although I know the solution is *not* to change the /etc/passwd file as I once suggested. Too bad I only remember the wrong way to do things. ;-) Larry Hall lhall AT rfk DOT com RFK Partners, Inc. http://www.rfk.com 118 Washington Street (508) 893-9779 - RFK Office Holliston, MA 01746 (508) 893-9889 - FAX -- 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/ -- 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/