2017-02-28 9 views
1

서비스 계정을 사용하여 cygwin 및 sshd 서비스를 설치했습니다. 서비스 계정 암호가 변경 될 때까지 제대로 작동했습니다. 자, sshd 서비스가 올라 오지 않습니다.cygwin sshd 서비스가 시작되지 않음

$ net start sshd 
System error 1069 has occurred. 

The service did not start due to a logon failure. 

누군가가이를 해결하고 단계를 공유 할 수 있습니까?

답변

0

가능성있는 권한을 재설정했습니다. 는이를 위해 나는 다음과 같은 스크립트를 사용

$ cat bin/enable-cyg-server.sh 
#!/bin/bash 

# see 
# /usr/share/csih/cygwin-service-installation-helper.sh 
# 
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 

editrights -u sshd -a SeAssignPrimaryTokenPrivilege 
editrights -u sshd -a SeCreateTokenPrivilege 
editrights -u sshd -a SeTcbPrivilege 
editrights -u sshd -a SeServiceLogonRight 
editrights -u sshd -a SeIncreaseQuotaPrivilege 
+0

내가 명령 위의 실행을하지만, 여전히이 같은 오류를 던지고있다. @matzeri – ApG