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 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 Reply-To: cygwin AT cygwin DOT com To: Huijing Zhou 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: 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 Content-Type: TEXT/PLAIN; charset=US-ASCII 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/