Mail Archives: cygwin/2003/10/12/19:01:55
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 -