delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/09/15/18:51:00

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
To: cygwin AT cygwin DOT com
From: geneSmith <gene DOT smith AT sea DOT siemens DOT com>
Subject: Re: login name changed
Date: Wed, 15 Sep 2004 18:50:33 -0400
Lines: 48
Message-ID: <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>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 66.168.89.166
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803
In-Reply-To: <6.1.0.6.0.20040914220229.02a05078@pop.prospeed.net>
X-IsSubscribed: yes

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. 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.

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.

I assume this is all ok.

-gene
-- 
Lit up like Levy's


--
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