delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/12/19:01:55

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
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Sun, 12 Oct 2003 19:01:42 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Huijing Zhou <hj AT N DOT O DOT S DOT P DOT A DOT M DOT cip DOT wiwi DOT uni-karlsruhe DOT de>
cc: cygwin AT cygwin DOT com
Subject: Re: Setup: prevent scan for domain users by mkpasswd
In-Reply-To: <3F89D1CB.8040609@N.O.S.P.A.M.cip.wiwi.uni-karlsruhe.de>
Message-ID: <Pine.GSO.4.56.0310121857470.20462@slinky.cs.nyu.edu>
References: <3F89D1CB DOT 8040609 AT N DOT O DOT S DOT P DOT A DOT M DOT cip DOT wiwi DOT uni-karlsruhe DOT de>
Importance: Normal
MIME-Version: 1.0

On Mon, 13 Oct 2003, Huijing Zhou wrote:

> I'm working at an university computer lab with over 6000 users in our
> Active Directory. You can imagine how long it takes for Cygwin Setup to
> add all of them into passwd. I know Setup calls mkpasswd with the "-l"
> option, but it doesn't help when I run the installation on a Windows server.
>
> Maybe it's better to change mkpasswd and mkgroup so that they do nothing
> when called with "-l" on a Server, or maybe there are some other ways to
> resolve it. Actually I don't care, I just don't like to wait an hour or
> two for passwd-grp.sh.
>
> Huijing

If you're installing Cygwin just for yourself, simply don't install the
"base-passwd" package initially (i.e., generate an /etc/passwd that you
want manually, using "mkpasswd -u", for example, and then install the
package).  This will not let any of the other users run Cygwin, and you'd
have to add them to /etc/passwd manually afterwards if you want them to
have that ability.

If you do want students to be able to run Cygwin, you'll just have to wait
for passwd-grp.sh to complete.  Leave it overnight, or something...  You'd
have to update /etc/passwd and /etc/group whenever new users/groups are
created, too.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

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