This is the mail archive of the
cygwin
mailing list for the Cygwin project.
how to windows login from shell
- From: Andrwe Lord Weber <lord-weber-andrwe at renona-studios dot org>
- To: cygwin at cygwin dot com
- Date: Wed, 01 Jul 2009 07:14:42 +0200
- Subject: how to windows login from shell
Hi,
is there a function to login as a user from the cygwin bash-shell?
The reason I'm asking is I want to connect to M$ XP using ssh public key
authentication.
The connection itself is working fine but I can't use shares because of
missing rights.
I figured out that the login process isn't a real Windows login if you
use a public key authentication so you don't have exactly the right the
normal user has.
After some research I found some mails in mailing lists talking about
this problem but there was just the solution to use net use
\\computer\share /USER:user password
to get a share but this possibility doesn't work for me.
That is why I got the idea to start a script, program or something like
that after the user authenticated itself which authenticates the user to
Windows.
Therefore I was hoping that cygwin already has a function to
authenticate a user.
Andrwe
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple