This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: login/passwd file
- To: Derek Young <derek at biddersedge dot com>
- Subject: Re: login/passwd file
- From: Kees van Veen <cvn at interchain dot nl>
- Date: Tue, 30 Dec 1997 09:02:25 +0100
- CC: gnu-win32 at cygnus dot com
- Organization: Interchain
- References: <34A7F8AF.7DD96E28@biddersedge.com>
Derek Young wrote:
>
> I have not been able to get login from Sergey's page working. I
> downloaded crypt.exe from his page as well, and created an /etc/passwd
> file. Whenever I login I get "Login incorrect".
>
> At first I thought this was a problem with telnet, but even just
> straight login fails (thus causing the problem with telnet).
>
> I've tried setting up a passwd file with a null password like this:
>
> dyoung::1000:0:Derek
> Young:/derek:/usr/gnuwin32/b18/H-i386-cygwin32/bin/bash.exe
>
> I've also tried setting one up with a valid password:
>
> dyoung:$1$11$r8tCuNX00ZGmGVaCftwTe1:1000:0:Derek
> Young:/derek:/usr/gnuwin32/b18/H-i386-cygwin32/bin/bash.exe
>
> both passwords have the same effect. The shell executable is was
> changed from /bin/sh.exe, but this doesn't seem to matter.
>
> I'm trying to run CVS which uses the same password authentication, and
> this doesn't authenticate either. Am I doing something wrong? Do I
> need to do more set up?
>
> -- derek
>
Are the permissions of the user executing login.exe sufficient to do a
CreateProcessAsUser (see Sergey's homepage)?
You should be able to run login.exe from the command line (I created an
icon that does
'...H-i386-cygwin32\bin\sh.exe -c "/usr/local/sbin/login.exe"', which
works fine).
Try running mkpasswd to generate a password file.
Good luck,
Kees
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".