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.2.1.2.0.20050427224001.088d02d8@pop.prospeed.net> Date: Wed, 27 Apr 2005 22:50:04 -0400 To: marcos rebelo , cygwin AT cygwin DOT com From: Larry Hall Subject: Re: I need to change my home directory In-Reply-To: <319d9698050422084620ed7425@mail.gmail.com> References: <319d9698050422084620ed7425 AT mail DOT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 11:46 AM 4/22/2005, you wrote: >Hy all > >My home directory is something like: > >/cygdrive/c/Documents and Settings/xpto > >I would like to have it in: > >/home/xpto > >I hwve this in one computer but not in the other. But I didn't do >nothing for that. > >What am I doing wrong? Apparently, you're just not aware of the differences between these two systems. Look at '/etc/defaults/etc/profile' for a description of how Cygwin determines what your home directory is. That should provide some insight. If it's just plain set incorrectly in your '/etc/passwd' file, rerun 'mkpasswd' as specified in '/etc/postinstall/passwd-grp.sh.done' but add the '-p' flag followed by '/home/xpto'. 'man mkpasswd' provides the full details. There. 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 -- 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/