This is the mail archive of the cygwin@sourceware.cygnus.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]

Re: About cygnus passwords and users


Hi Todd,

[...]
>and then after you've done that, how is the resulting output used?
>i ran mkpasswd and mkgroup to create /etc/passwd and /etc/group.
>they are created with an empty password field.  i tried to use some of the
>programs which i thought may reference these files, such as login, telnetd
>and sshd, and login authentication failed for all of these.
>
>does the /etc/passwd file have to be populated with passwords?  if so,
>should they be standard unix des encrypted passwords? (ie. can i simply
>copy a password from a unix host?)  does this depend on whether the
>programs (eg. login) were compiled with a certain libcrypt?
>
>are all the answers to these questions documented somewhere?  if so, sorry
>for wasting bandwidth and please just point me at the proper place to look.

The answers are documented *somewhere* :)
A great place to find answers are the archives of the mailing list
itself.
Back to your question regarding passwords: /etc/passwd created with
mkpasswd is only necessary to provide the usernames, the password is
taken from the NT SAM by programs, which can deal with this feature, for
example Sergey Okhapkin's telnetd.
So if you don't have those programs or even worse are using Window 95,
there is no chance at all to use an /etc/passwd !

>
>--
>Todd Pfaff                         \  Email: pfaff@mcmaster.ca

Bye.
Michael.
--
Michael Hirmke           | Telefon +49 (911) 557999
Georg-Strobel-Strasse 81 | FAX     +49 (911) 557664
90489 Nuernberg          | E-Mail  mailto:mh@mike.franken.de
                         | WWW     http://minimike.franken.de/
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


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