OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba
Fri Feb 1 19:18:00 GMT 2008
> You should still be able to login as yourself and gain access to
> your network shares.
I am able to login as myself without passwordless login and get access to my
network shares. However, I am not able to login as myself using
PASSWORDLESS login via public keys and have access to the network shares. I
need to execute ssh login in a batch script so I need passwordless login to
work and I need to have access to the network shares when I login. Is
there some other way to get access to network shares via passwordless login
without changing the user who runs the sshd service and opening the security
Thanks for your input,
----- Original Message -----
From: "Larry Hall (Cygwin)" <firstname.lastname@example.org>
Sent: Friday, February 01, 2008 1:33 PM
Subject: Re: OPENSSH passwordless login getting "system error 59" on "net
use" cmd with samba
> Terry Orechia wrote:
>> I was able to resolve this issue by switching the user who runs the sshd
>> service. If anyone else is having this problem you can find detailed
>> documentation on how to do get around this issue this at
> Some words of caution here:
> The procedure outlined with the domain user as the user the service will
> run as gives the domain user advanced privileges which encompass those
> of SYSTEM (on <W2K3 machines) and sshd_server. This opens a wider
> security hole than just using SYSTEM (on <W2K3 machine) or sshd_server
> as the service user.
> If you don't need the ability to let others login via 'ssh' to the system
> in question, you are better off to not alter your user's permissions at
> all. You should still be able to login as yourself and gain access to
> your network shares. By doing this, you won't be opening up the security
> hole but others trying to log in will run in your user context in your
> See <http://cygwin.com/faq/faq-nochunks.html#faq.using.shares> for more
> Larry Hall http://www.rfk.com
> RFK Partners, Inc. (508) 893-9779 - RFK Office
> 216 Dalton Rd. (508) 893-9889 - FAX
> Holliston, MA 01746
> A: Yes.
> > Q: Are you sure?
> >> A: Because it reverses the logical flow of conversation.
> >>> Q: Why is top posting annoying in email?
> 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/
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
More information about the Cygwin