Reduce service permissions

This commit is contained in:
Cameron Gutman
2019-03-09 10:51:59 -08:00
parent 361571db79
commit b2a21bec72
+4 -2
View File
@@ -37,10 +37,12 @@
DisplayName="IPv6 Forwarder for GS Protocol" DisplayName="IPv6 Forwarder for GS Protocol"
Description="Provides access to GameStream servers over IPv6 networks" Description="Provides access to GameStream servers over IPv6 networks"
Start="auto" Start="auto"
Account="LocalSystem" Account="NT AUTHORITY\LocalService"
ErrorControl="ignore" ErrorControl="ignore"
Interactive="no"> Interactive="no">
<ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall="yes" /> <ServiceConfig DelayedAutoStart="yes" OnInstall="yes" OnReinstall="yes" ServiceSid="restricted">
<RequiredPrivilege>SeChangeNotifyPrivilege</RequiredPrivilege>
</ServiceConfig>
</ServiceInstall> </ServiceInstall>
<ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="GSv6FwdSvc" Wait="yes" /> <ServiceControl Id="StartService" Start="install" Stop="both" Remove="uninstall" Name="GSv6FwdSvc" Wait="yes" />
</Component> </Component>