delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/07/15:38:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <20040407193744.97474.qmail@web11702.mail.yahoo.com>
Date: Wed, 7 Apr 2004 12:37:44 -0700 (PDT)
From: Erik Weibust <eweibust AT yahoo DOT com>
Subject: RE: strange install problems
To: Cygwin List <cygwin AT cygwin DOT com>
In-Reply-To: <6.0.1.1.0.20040407150216.03a03c70@127.0.0.1>
MIME-Version: 1.0
X-IsSubscribed: yes

Larry,

Thanks for all the help.  Sorry to keep beating this
subject down, but I hope this can be my last question.

What problems will I have with simply changing the
path for my home dir in /etc/passwd?

Do I have to use the mkpasswd cmd that you showed
below?

Thanks,
Erik

--- Larry Hall <cygwin-lh AT cygwin DOT com> wrote:
> 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 <your user name>',
> >> 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 <my user name>
> 
> 
> mkpasswd -l -d -u <your user name> -p <path to the
> parent directory of your 
> user directory>
> 
> 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:
> >> 
> >>
>
><http://www.cygwin.com/ml/cygwin/2003-01/msg00111.html>
> >> 
> >> 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/
> 


__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

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