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 To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Re: Overriding the default HOME priority settings Date: Tue, 05 Apr 2005 22:52:47 -0700 Lines: 36 Message-ID: References: <42530114 DOT 90501 AT cs DOT caltech DOT edu> <42531365 DOT 2010303 AT cs DOT caltech DOT edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org X-Gmane-NNTP-Posting-Host: defaria.com User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) In-Reply-To: <42531365.2010303@cs.caltech.edu> X-IsSubscribed: yes Pat Cahalan wrote: >> IIRC $HOME is set in /etc/profile. You can easily change /etc/profile >> to do what you like. What I used to do is make one /etc/profile then >> everybody symlinked to it. > > Unfortunately, that won't work for us here, since Cygwin is primarily > used by CS people who want a UNIX environment on their laptop, without > giving up the native Windows installations. VMWare and Linux isn't a > solution for everybody, since they also want a decent shell > environment in Windows (and let's face it the Windows command line > lacks elegance). > > Since the portables aren't always connected to the network (and > oftentimes are connected outside of our SMB/NFS export range when they > *are* on the network), they need to have a local $HOME, even when > they're logging into their portable using cached domain credentials. > >> 2. Change the master /etc/profile to get/set $HOME from /etc/passwd >> (that is the symlinked master /etc/passwd). > > I'll have to have /etc/profile local to the machine in question, but > to clarify, this method will override the domain map as the "first > preference"? I wrote a nice reply to this but accidently hit the "it's OK to send in HTML" button and because this list disallows HTML it got lost. Too bad. To summarize, if your CS dept says then all important things like home directories should reside on the server (and I agree with them on that) then these disconnected laptops are violating that rule. Look into using MS Windows offline files and ActiveSync to resolve that problem. As for symlink, use copies instead - but then you'll have to work out for yourself how to keep things up to date. -- Why are there tags on blow-dryers that say Do Not Use In The Shower? Is this really a problem? -- 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/