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.0.1.1.0.20040407150216.03a03c70@127.0.0.1> X-Sender: Date: Wed, 07 Apr 2004 15:08:48 -0400 To: Erik Weibust , Cygwin List From: Larry Hall Subject: RE: strange install problems In-Reply-To: <20040407165806.91689.qmail@web11705.mail.yahoo.com> References: <6 DOT 0 DOT 1 DOT 1 DOT 0 DOT 20040401160801 DOT 03947cb8 AT 127 DOT 0 DOT 0 DOT 1> <20040407165806 DOT 91689 DOT qmail AT web11705 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" At 12:58 PM 4/7/2004, you wrote: >> >2. Shouldn't cygwin use something like >> $My_Documents >> >as it's home? This is mostly on a local drive for >> all >> >windows installs. >> >> >> Cygwin uses for your home directory whatever Windows >> says >> is your home directory. Cygwin gets this from >> '/etc/passwd'. >> If you do a 'mkpasswd -d -u ', >> you'll see >> what Cygwin will use as your home directory, as set >> by the >> administrator of your domain. If you don't want >> that, use >> the '-p' option. > >How exactly do I use the "-p" option? > >mkpasswd -p mkpasswd -l -d -u -p i.e. mkpasswd -l -d -u erik -p /home >> >> >> >3. Does cygwin not build a /home/$USERNAME >> dir/path >> >as part of it's install? I did a complete install >> and >> >expected it. Before I uninstalled my previous >> cygwin >> >install (which was installed a year ago) I did have >> a >> >/home/$USER dir and that is what I backed up. >> >> >> I think you're looking for this explanation: >> >> > >> >> or see '/etc/profile'. '/etc/profile' makes your >> home >> directory if it doesn't exist. >> >> >4. If the answer to number 3 is No. Can I just >> >create a /home/$USER and copy my old /home/user >> there? >> >> >> Sure. Copy it where you like and need it. Make >> Cygwin >> see it where ever you want if the one it gets from >> Windows >> isn't to your liking. > >Your comment "Make Cygwin see it where ever you want" >is vague. How do I do that? Just make sure that the home directory in /etc/passwd is pointing to where you want it. See above. -- 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/