delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <b85eaed70811201537w76b76afbmab523c28c07182ab@mail.gmail.com> |
Date: | Thu, 20 Nov 2008 15:37:24 -0800 |
From: | "William Zhang" <espzzh AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Run OpenSSH service with Local System Account |
MIME-Version: | 1.0 |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Hi All, Sorry i hit the send button by mistake before I finished the last mail. This is my full question. I am wondering if there is a way to run the Cygwin OpenSSH service as Local System Account in Windows 2003 and 2008 instead of the cyg_server account created during the setup. I am using Cygwin+OpenSSH on the Windows test server and I remotely execute automation testing script from a linux box. However the program running on the Windows server is a Windows GUI based program and has some dialog box pop up at some time during the test. Since running the SSH service with cyg_server account does not allow the program to interact with desktop, the test program will stop in the middle of the automation test. If it allow me to running the SSH service with Local System Account, I can enable the "allow the service to interact with desktop" option and my problem should be solved. I understand there is purpose to create an account with special privileges as the setup says: "*** Info: You appear to be running Windows 2003 Server or later. On 2003 and *** Info: later systems, it's not possible to use the LocalSystem account *** Info: for services that can change the user id without an explicit password *** Info: (such as passwordless logins [e.g. public key authentication] via sshd). *** Info: If you want to enable that functionality, it's required to create a new *** Info: account with special privileges (unless a similar account already exists). *** Info: This account is then used to run these special servers. it say if I want to enable that functionality i need create one.... but I really don't care any security, password.. so I answer no to that question and installed the open ssh with local system account and the service can run but the client can not log into the system. Is there any configuration I can poke around to make it work with local system account? Thanks a lot! William -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |