summaryrefslogtreecommitdiff
path: root/contrib/cygwin/ssh-host-config
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-06-22 22:02:42 +1000
committerDarren Tucker <dtucker@zip.com.au>2012-06-22 22:02:42 +1000
commit62dcd63f5ed39798b0201cf64223960ded766914 (patch)
tree37a22bb61a75ca6a0184a7098ecf3e7b3f6f95e2 /contrib/cygwin/ssh-host-config
parent6c6da33d31c898781ffb45c5d10502b0f84dd4a4 (diff)
- (dtucker) [contrib/cygwin/ssh-host-config] Ensure that user sshd runs as
can logon as a service. Patch from vinschen at redhat com.
Diffstat (limited to 'contrib/cygwin/ssh-host-config')
-rw-r--r--contrib/cygwin/ssh-host-config1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/cygwin/ssh-host-config b/contrib/cygwin/ssh-host-config
index 3ac39a621..3c9046f5f 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -493,6 +493,7 @@ install_service() {
493 -a "-D" -y tcpip "${cygwin_env[@]}" \ 493 -a "-D" -y tcpip "${cygwin_env[@]}" \
494 -u "${run_service_as}" -w "${password}" 494 -u "${run_service_as}" -w "${password}"
495 then 495 then
496 /usr/bin/editrights -u "${run_service_as}" -a SeServiceLogonRight
496 echo 497 echo
497 csih_inform "The sshd service has been installed under the '${run_service_as}'" 498 csih_inform "The sshd service has been installed under the '${run_service_as}'"
498 csih_inform "account. To start the service now, call \`net start sshd' or" 499 csih_inform "account. To start the service now, call \`net start sshd' or"