delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/27/12:32:07

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: smtp3.cern.ch: Host pb-d-128-141-49-85.cern.ch [128.141.49.85] claimed to be traveller
Message-ID: <007601c33cc9$e6267940$55318d80@ideiaprima.com>
From: =?iso-8859-1?Q?Igor_Rom=E1n_Mari=F1o?= <igor DOT roman DOT marino AT cern DOT ch>
To: <cygwin AT cygwin DOT com>
References: <Pine DOT GSO DOT 4 DOT 44 DOT 0306270936330 DOT 22307-100000 AT slinky DOT cs DOT nyu DOT edu>
Subject: Re: mkpasswd for HUGE domains?
Date: Fri, 27 Jun 2003 18:33:54 +0200
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000

errrmm....
is OOOooooops good enough? :S
(I read the help, only that i should had read it properly and not diagonaly)

Thanks anyway
----- Original Message -----
From: "Igor Pechtchanski" <pechtcha AT cs DOT nyu DOT edu>
To: "Igor Román Mariño" <igor DOT roman DOT marino AT cern DOT ch>
Cc: <cygwin AT cygwin DOT com>
Sent: Friday, June 27, 2003 3:38 PM
Subject: Re: mkpasswd for HUGE domains?


On Fri, 27 Jun 2003, Igor Román Mariño wrote:

> Hello,
> I've had to add a user to /etc/passwd to access my computer by ssh via
> cygwin on w2k.
> The main problem was, that
> a) our modified version of windows (CERN/NICE) doenst allow the creation
of
> new users to the local computer, as such I had to add the domain user
> b) our domain has over 10000 users
> c) mkpasswd -d doesnt have a way of especifiying a particular user, only
the
> whole list
> d) getting the whole list takes over 50 minutes (and still counting)
>
> Could the tool be rewriten as to have either
> - a way of especify a particular user from a domain that you want to add
> - a faster way of getting all the users of such a HUGE domain
>
> Cheers: Igor

Umm, did you try the -u option?
Igor

$ mkpasswd --help
Usage: mkpasswd [OPTION]... [domain]

This program prints a /etc/passwd file to stdout

Options:
   -l,--local              print local user accounts
   -c,--current            print current account, if a domain account
   -d,--domain             print domain accounts (from current domain
                           if no domain specified)
[snip]
   -u,--username username  only return information for the specified user
[snip]

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