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 Reply-To: Cygwin List Message-Id: <6.1.0.6.0.20040915190157.03d5ca30@pop.prospeed.net> X-Sender: Date: Wed, 15 Sep 2004 19:06:44 -0400 To: geneSmith , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: login name changed In-Reply-To: References: <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040914220229 DOT 02a05078 AT pop DOT prospeed DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 06:50 PM 9/15/2004, you wrote: >Larry Hall wrote, On 9/14/2004 10:10 PM: >>At 07:23 PM 9/14/2004, you wrote: >> >>>Due to administrative reason my login name changed from "gene" to "gene.us." This also produced a new directory under "Documents and Setting" called "gene-us" which is my new default home directory for windows. However, cygwin never seems to get the message and when I start cygwin (via rxvt) it thinks my home is still in "gene." How do I tell cygwin to use "gene.us" as my home? >> >> >>Same as always. Run 'mkpasswd'. See the docs: >> >>'man mkpasswd' >>and/or see '/etc/postinstall/base-files-profile.sh.done'. >> >>-- >>Larry Hall http://www.rfk.com >>RFK Partners, Inc. (508) 893-9779 - RFK Office >>838 Washington Street (508) 893-9889 - FAX >>Holliston, MA 01746 > >Thanks for the pointers. > >For the record: > >mkpasswd -d MYDOMAIN > /etc/passwd > >produced thousands of entries. Weeded it down to just me since I am the only relevant user. The '-u' flag would remove the need to weed if you like a tidy '/etc/passwd'. >Also, in /etc/passwd had to change /home/gene.us to /cyygdrive/c/Documents and Settings/gene.us for it to work right running rxvt. You can use a symbolic link or a mount point to do this too. >Rxvt also complained that I need to run mkgroup. So I did > >mkgroup -d MYDOMAIN > /etc/group > >This also produced thousands of entries but since I was not sure which of the groups I am in, just left them all in /etc/group. Complaint about mkgroup went away and rxvt starts with ok speed. '-c' may have been what you wanted here, though more entries than needed is not a problem. >I assume this is all ok. Sounds fine to me. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/