- (dtucker) [contrib/cygwin/ssh-host-config] Ensure that user sshd runs as

can logon as a service.  Patch from vinschen at redhat com.
This commit is contained in:
Darren Tucker 2012-06-22 22:02:42 +10:00
parent 6c6da33d31
commit 62dcd63f5e
2 changed files with 5 additions and 0 deletions

View File

@ -1,3 +1,7 @@
20120622
- (dtucker) [contrib/cygwin/ssh-host-config] Ensure that user sshd runs as
can logon as a service. Patch from vinschen at redhat com.
20120620
- (djm) OpenBSD CVS Sync
- djm@cvs.openbsd.org 2011/12/02 00:41:56

View File

@ -493,6 +493,7 @@ install_service() {
-a "-D" -y tcpip "${cygwin_env[@]}" \
-u "${run_service_as}" -w "${password}"
then
/usr/bin/editrights -u "${run_service_as}" -a SeServiceLogonRight
echo
csih_inform "The sshd service has been installed under the '${run_service_as}'"
csih_inform "account. To start the service now, call \`net start sshd' or"