delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/02/02/23:15:32

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=BAYES_00,SPF_HELO_PASS,TW_MK,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Mark Ziesemer <online AT mark DOT ziesemer DOT com>
Subject: Cygwin multi-user installation issues
Date: Fri, 3 Feb 2012 04:12:32 +0000 (UTC)
Lines: 27
Message-ID: <loom.20120203T050154-304@post.gmane.org>
Mime-Version: 1.0
User-Agent: Loom/3.14 (http://gmane.org/)
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

I just wanted to make those concerned aware of some issues I faced while
prepping Cygwin for use on a multi-user installation, and some work-arounds that
I came up with.  Hopefully, these issues could be considered and incorporated
into the Cygwin project - resulting in something better than using the
work-arounds that I provided.

Please pardon me for not repeating all the details here.  Everything is detailed
in a personal blog post that I created at
http://blogger.ziesemer.com/2012/02/cygwin-multi-user-installation.html.  All
Cygwin versions are current as of this writing.

To summarize:

- Cygwin installs all files owned as the installing-user, with no access control
entry for the "Administrators" group.  This causes issues if multiple users try
to use Cygwin, or if one user installs it for another end-user - even if
everyone involved is an Administrator (has an account in Windows' Administrators
group).  (This functionality might make sense if "Just Me" was chosen for the
"Install For" option during installation, but this was not the case.)

- There should be a way to run mkpasswd and mkgroup automatically - or at least,
by customizing the installation to handle this for new users.  However, there
doesn't seem to be a great way to hook into /etc/profile (where this warning is
generated) without editing the script itself and causing it to be skipped in any
future updates.

Thank you for your time and consideration.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019