This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: login name changed

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 "" 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 "" as my home?

Same as always. Run 'mkpasswd'. See the docs:

'man mkpasswd'

and/or see '/etc/postinstall/'.

Larry Hall
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/ to /cyygdrive/c/Documents and Settings/ 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.

Lit up like Levy's

-- Unsubscribe info: Problem reports: Documentation: FAQ:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]