This is the mail archive of the
mailing list for the Cygwin project.
Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba
- From: "Larry Hall (Cygwin)" <reply-to-list-only-lh at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 01 Feb 2008 13:33:09 -0500
- Subject: Re: OPENSSH passwordless login getting "system error 59" on "net use" cmd with samba
- References: <004e01c864fd$1172f870$0302a8c0@r00jao4>
- Reply-to: cygwin at cygwin dot com
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 case.
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
> 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