mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-17 21:25:50 +02:00
- Fix windows service to be created run with limited rights, as a
network service account, from Mario Turschmann. git-svn-id: file:///svn/unbound/trunk@3734 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+2
-1
@@ -232,7 +232,8 @@ wsvc_install(FILE* out, const char* rename)
|
||||
NULL, /* no tag identifier */
|
||||
NULL, /* no deps */
|
||||
NULL, /* on LocalSystem */
|
||||
NULL /* no password */
|
||||
_T("NT AUTHORITY\\NetworkService"), /* network service account with restricted rights */
|
||||
"" /* no password (must be an empty string) */
|
||||
);
|
||||
if(!sv) {
|
||||
CloseServiceHandle(scm);
|
||||
|
||||
Reference in New Issue
Block a user