Changes

Jump to: navigation, search

Sudowin

251 bytes removed, 00:49, 8 December 2009
no edit summary
<package
id="sudowin"
name="Sudo for Windows"
revision="2"
reboot="false"
<install cmd='msiexec /qn /i "%SOFTWARE%\sudowin\sudowin-bin-0.4.2-r208.msi"' />
<install cmd='%comspec% /c xcopy /E /R /Y "%SOFTWARE%\sudowin\*.bat" "%PROGRAMFILES%\Sudowin\"'> <exit code="any"/></install>
<!-- Now remove inheritable permissions on sudo.exe, give app_sudowin read and execute and remove local users and power users from acl -->
<install cmd='"%SOFTWARE%\system\setacl.exe" -on "%PROGRAMFILES%\Sudowin\Clients\Console\sudo.exe" -ot file -actn setprot -op "dacl:p_c"' />
<!-- then force reinstallation of the msi -->
<upgrade cmd='msiexec /qn /fa "%SOFTWARE%\sudowin\sudowin-bin-0.4.2-r208.msi"' />
<upgrade cmd='%comspec% /c xcopy /E /R /Y "%SOFTWARE%\sudowin\*.bat" "%PROGRAMFILES%\Sudowin\"'> <exit code="any"/></upgrade>
<!-- Now remove inheritable permissions on sudo.exe, give app_sudowin read and execute and remove local users and power users from acl -->
<upgrade cmd='"%SOFTWARE%\system\setacl.exe" -on "%PROGRAMFILES%\Sudowin\Clients\Console\sudo.exe" -ot file -actn setprot -op "dacl:p_c"' />
41
edits

Navigation menu