diff options
author | Darren Tucker <dtucker@zip.com.au> | 2012-06-22 22:02:42 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2012-06-22 22:02:42 +1000 |
commit | 62dcd63f5ed39798b0201cf64223960ded766914 (patch) | |
tree | 37a22bb61a75ca6a0184a7098ecf3e7b3f6f95e2 /contrib/cygwin/ssh-host-config | |
parent | 6c6da33d31c898781ffb45c5d10502b0f84dd4a4 (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-config | 1 |
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" |