This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mkpasswd for HUGE domains?


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@cs.nyu.edu>
To: "Igor Román Mariño" <igor.roman.marino@cern.ch>
Cc: <cygwin@cygwin.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@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_ igor@watson.ibm.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]