summaryrefslogtreecommitdiff
path: root/contrib/cygwin
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
parent6c6da33d31c898781ffb45c5d10502b0f84dd4a4 (diff)
downloadopenssh-git-62dcd63f5ed39798b0201cf64223960ded766914.tar.gz
- (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')
-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 3ac39a62..3c9046f5 100644
--- a/contrib/cygwin/ssh-host-config
+++ b/contrib/cygwin/ssh-host-config
@@ -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"