mirror of git://anongit.mindrot.org/openssh.git
- (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:
parent
6c6da33d31
commit
62dcd63f5e
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue