Lower wampapache priv to LOCAL SERVICE

This commit is contained in:
wchen-r7 2016-11-03 10:58:43 -05:00
parent 7bb9e85ab4
commit 3b330046c0

View File

@ -4,3 +4,5 @@ copy /Y "C:\vagrant\resources\wamp\httpd.conf" "C:\wamp\bin\apache\Apache2.2.21\
copy /Y "C:\vagrant\resources\wamp\phpmyadmin.conf" "C:\wamp\alias\phpmyadmin.conf"
sc config wampapache start= auto
sc config wampmysqld start= auto
icacls "C:\wamp" /grant "NT Authority\LOCAL SERVICE:(OI)(CI)F" /T
sc config wampapache obj= "NT Authority\LOCAL SERVICE"