delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/15/19:08:04

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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 <cygwin AT cygwin DOT com>
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 <gene DOT smith AT sea DOT siemens DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: login name changed
In-Reply-To: <ciagvq$ohj$1@sea.gmane.org>
References: <ci7uhp$2jo$1 AT sea DOT gmane DOT org> <6 DOT 1 DOT 0 DOT 6 DOT 0 DOT 20040914220229 DOT 02a05078 AT pop DOT prospeed DOT net> <ciagvq$ohj$1 AT sea DOT gmane DOT org>
Mime-Version: 1.0

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:
>><http://cygwin.com/cygwin-ug-net/using-utils.html#MKPASSWD>
>>'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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019