This is the mail archive of the
cygwin
mailing list for the Cygwin project.
is it possible to re-compile sshd to support "real-user" login in terms of public key authentication
- From: "Chen Yue" <godsarmycy at gmail dot com>
- To: <cygwin at cygwin dot com>
- Date: Mon, 18 Feb 2008 20:45:48 +0800
- Subject: is it possible to re-compile sshd to support "real-user" login in terms of public key authentication
Hi Cygwin experts
We all know user can login cygwin sshd to get real-user only by password. If
user logins sshd by public key, he/she could merely get the ACL in which the
sshd process is run.
But in Tectia windows sshd(www.ssh.com), user can get the proper ACL no
matter he/she logins in terms of password or public key. So I checked source
code of cygwin sshd, finding it uses WINAPI LogonUser to get the proper ACL
in auth_passwd. However, this API is not introduced in auth_pubkey since it
requires password in the third parameter. So I wonder how Tectia sshd
implements this mechanism.
Is it possible I re-compile Cygwin sshd to support this feature?
--
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/