https://wiki.afp548.com/index.php?title=Allowing_application_to_launch&feed=atom&action=historyAllowing application to launch - Revision history2024-03-28T16:05:48ZRevision history for this page on the wikiMediaWiki 1.34.0https://wiki.afp548.com/index.php?title=Allowing_application_to_launch&diff=820&oldid=prevNatewalck at 01:55, 1 April 20122012-04-01T01:55:52Z<p></p>
<table class="diff diff-contentalign-left" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #222; text-align: center;">Revision as of 01:55, 1 April 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l9" >Line 9:</td>
<td colspan="2" class="diff-lineno">Line 9:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>pathWhiteList-Raw can be used to create a more dynamic list, that will be smaller. to save time unix commands can be used to generate a list of paths that include .app. Here are the unix commands I use:<br/></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>pathWhiteList-Raw can be used to create a more dynamic list, that will be smaller. to save time unix commands can be used to generate a list of paths that include .app. Here are the unix commands I use:<br/></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="bash"></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><syntaxhighlight lang="bash"></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>sudo find / -name *.app | sed 's/\/[^/]*$/\//' > /step1.txt<del class="diffchange diffchange-inline"><br/></del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>sudo find / -name *.app | sed 's/\/[^/]*$/\//' > /step1.txt</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>sudo sort /step1.txt > /step2.txt<del class="diffchange diffchange-inline"><br/></del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>sudo sort /step1.txt > /step2.txt</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>sudo uniq /step2.txt > /step3.txt<del class="diffchange diffchange-inline"><br/></del></div></td><td class='diff-marker'>+</td><td style="color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>sudo uniq /step2.txt > /step3.txt</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div></syntaxhighlight></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>Natewalckhttps://wiki.afp548.com/index.php?title=Allowing_application_to_launch&diff=819&oldid=prevNatewalck at 01:51, 1 April 20122012-04-01T01:51:45Z<p></p>
<p><b>New page</b></p><div>MCX com.apple.applicationaccess.new is used to control witch .app programs can be access by a target group. <br/><br />
<br/><br />
pathBlackList-Raw is used to create a block list by folder (applications not allowed to run)<br/><br />
pathWhiteList-Raw is used to create a white list by folder. (applications allow to run)<br/><br />
whiteList-Raw allows a .app program to run regardless of the directory the program is in. <br/><br />
<br/><br />
whiteListing every single application in whiteList-Raw would make a huge MCX record. <br/><br />
<br/><br />
pathWhiteList-Raw can be used to create a more dynamic list, that will be smaller. to save time unix commands can be used to generate a list of paths that include .app. Here are the unix commands I use:<br/><br />
<syntaxhighlight lang="bash"><br />
sudo find / -name *.app | sed 's/\/[^/]*$/\//' > /step1.txt<br/><br />
sudo sort /step1.txt > /step2.txt<br/><br />
sudo uniq /step2.txt > /step3.txt<br/><br />
</syntaxhighlight><br />
<br />
<br />
This will create a file named step3.txt at / with a list of directories with applications. Note you may want to review the list and remove directories as needed. For instance I tend to remove any application with the path of '/Users/'. Any application in /Users I add to application acceess via whiteList-Raw. <br/><br />
<br/><br />
<br />
I tend to add the fallowing paths to pathBlackList-Raw:<br/><br />
/Users/<br/><br />
/Volumes/<br/><br />
<br />
[[Category:MCX]]</div>Natewalck