delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-5.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE |
X-Spam-Check-By: | sourceware.org |
X-Received: | by 10.14.213.199 with SMTP id a47mr147985eep.31.1360875179388; Thu, 14 Feb 2013 12:52:59 -0800 (PST) |
Message-ID: | <511D4EA8.1060202@gmail.com> |
Date: | Thu, 14 Feb 2013 21:52:56 +0100 |
From: | marco atzeri <marco DOT atzeri AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130107 Thunderbird/17.0.2 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: sshd fails to start: logon failure |
References: | <511D4C70 DOT 30508 AT cs DOT utoronto DOT ca> |
In-Reply-To: | <511D4C70.30508@cs.utoronto.ca> |
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 |
On 2/14/2013 9:43 PM, Ryan Johnson wrote: > Hi all, > > I tried to ssh to my cygwin box today and was unable to connect. It > seems the sshd service can no longer run, for reasons that mystify me: >> # net start sshd >> System error 1069 has occurred. >> >> The service did not start due to a logon failure. > > I wasn't aware of having changed anything; would it be advisable to just > reinstall sshd from setup.exe and/or sshd_host_config, or is there some > simple troubleshooting I might do? reinstall is not the way. Likely something reset the cyg_server privileges. Try to re-enable them with editrights -u cyg_server -a SeAssignPrimaryTokenPrivilege editrights -u cyg_server -a SeCreateTokenPrivilege editrights -u cyg_server -a SeTcbPrivilege editrights -u cyg_server -a SeServiceLogonRight editrights -u cyg_server -a SeIncreaseQuotaPrivilege > > In case it helps, the sshd user in /etc/passwd is: >> sshd:unused:1003:513:sshd >> privsep,U-ryan-cms-utsc\sshd,S-1-5-21-2165564742-446954615-706276285-1003:/var/empty:/bin/bash >> > > Thanks! > Ryan > Regards Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |