Skip to content

Commit da3f970

Browse files
committed
msi: Change OpenVPNService account
Instead of running as SYSTEM, run as limited virtual service account "NT SERVICE\OpenVPNService", which is much more secure. This requires service to use interactive service. Signed-off-by: Lev Stipakov <lev@openvpn.net>
1 parent 0b272bb commit da3f970

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

windows-msi/msi.wxs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,8 +458,9 @@
458458
Description="Responsible for automatic start of OpenVPN instances."
459459
Type="ownProcess"
460460
Start="disabled"
461+
Account="NT SERVICE\OpenVPNService"
461462
ErrorControl="normal">
462-
<ServiceDependency Id="Dhcp"/>
463+
<ServiceDependency Id="OpenVPNServiceInteractive"/>
463464
</ServiceInstall>
464465
</Component>
465466
<Component Id="bin.tapctl.exe" Guid="{5A294591-0F71-470F-977B-DD288AB2B437}">

0 commit comments

Comments
 (0)