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 From: "Dave Korn" To: Subject: RE: How to start up cygwin so all users use the same home dir and environment? Date: Thu, 3 Feb 2005 14:51:22 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: Message-ID: X-OriginalArrivalTime: 03 Feb 2005 14:51:22.0236 (UTC) FILETIME=[D3A9D3C0:01C509FF] > -----Original Message----- > From: cygwin-owner On Behalf Of Jesper Vad Kristensen > Sent: 03 February 2005 14:18 > I'm trying to do something odd (I'll explain the "why" later), but > here's what I would like to do: > > All users here are in the same Windows Domain, and I would like an > unknown number of users to be able to log into this one Windows server, > and when they start cygwin there I would like them all to use, say, > /cygdrive/c/cygwin/home/shareduser as home dir (~/). I.e. no matter who > logs into the windows box they all share the one and same cygwin > environment. Ok, so after you've run "mkpasswd -d > /etc/passwd", edit the resulting file and set the home directory field for every user to your chosen dir. Bingo: all users get same home drive, same .rc files and so on. Only catch is that you have to remember to re-edit the file any time you re-generate it again in the future. That would be quite a simple job to do with a script that pipes the mkpasswd output through sed. Or set up ssh and have them all log in as the same username, regardless of their domain logon. cheers, DaveK -- Can't think of a witty .sigline today.... -- 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/