mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-06-16 10:04:12 +02:00
Update GlassFish
* the bat file must be run from cmd.exe otherwise the permissions won't set * start_glaassfish.bat is no longer used
This commit is contained in:
parent
a5e92a1ae7
commit
1fdd523c28
|
@ -1,3 +0,0 @@
|
|||
C:\glassfish\bin\asadmin.bat start-domain domain1
|
||||
|
||||
C:\glassfish\bin\asadmin.bat --host localhost --port 4848 enable-secure-admin
|
|
@ -4,7 +4,9 @@ cmd /c ""C:\Program Files\7-Zip\7z.exe" x "C:\Windows\Temp\glassfish4.zip" -oC:\
|
|||
copy /Y "C:\vagrant\resources\glassfish\admin-keyfile" "C:\glassfish\glassfish4\glassfish\domains\domain1\config\admin-keyfile"
|
||||
copy /Y "C:\vagrant\resources\glassfish\domain.xml" "C:\glassfish\glassfish4\glassfish\domains\domain1\config\domain.xml"
|
||||
|
||||
C:\glassfish\glassfish4\bin\asadmin.bat create-service domain1
|
||||
cmd.exe /c "C:\glassfish\glassfish4\bin\asadmin.bat create-service domain1"
|
||||
|
||||
|
||||
|
||||
sc config domain1 obj= "NT Authority\LOCAL SERVICE"
|
||||
icacls "C:\glassfish" /grant "NT Authority\LOCAL SERVICE:(OI)(CI)F" /T
|
||||
|
|
Loading…
Reference in New Issue
Block a user