<html>
<head>
<style type="text/css">
<!--
body { margin-right: 4px; line-height: normal; margin-left: 4px; font-variant: normal; margin-bottom: 1px; margin-top: 4px }
p { margin-bottom: 0; margin-top: 0 }
-->
</style>
</head>
<body style="margin-right: 4px; margin-left: 4px; margin-bottom: 1px; margin-top: 4px">
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">For the desktop you can set a user only preference in composer and then push it out to the systems and make it self heal, so that if it is altered it will get it again. You can also look at a log out/in hook that disables that preference. If they are managed via an OS X server you can use Server to manage the group's preference to disallow changes to the desktop background pref pane in system preferences.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">Do delete all desktop items a simple one liner can work as a log out hook.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">#!/bin/sh</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">#delete current user's desktop items</font> </p>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">#WARNING, THIS WILL DELETE EVERYTHING</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">/bin/rm -rf /Users/$3/Desktop/*</font> </p>
<br> <br><br><br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">Please note that the $3 and $4 options only pull the current user in casper from log in/out policies. They also only work if ran by Casper, since the $3 variable means nothing outside of Casper.</font> </p>
<br>
<p style="margin-top: 0; margin-bottom: 0">
<font size="3" face="Lucida Grande">I think I got it right but I could have $3 and $4 confused. I know one is the current user when parsed by Casper.</font><br><br><br>___________________________<BR>Thomas Larkin<BR>TIS Department<BR>KCKPS USD500<BR><a href="mailto:tlarki@kckps.org">tlarki@kckps.org</a><BR>blackberry: 913-449-7589<BR>office: 913-627-0351<BR><BR><BR><BR><br><br>>>> Kathie Iorizzo <kiorizzo@latinschool.org> 05/06/09 9:36 AM >>><br>Hi .. I'm not a script person. I'm looking for a way that on log out <br>all the items are deleted off the desktop.  Here is why.  Our students <br>connect to a server that is in their dock.  Sometimes they accidently <br>grab their folder and drag it to the desktop. This in reference causes <br>the permissions on those folders to be wacky and no one but an admin <br>can delete the folders. Within a week I have 20 gigs of student data <br>copied over to the desktop and I have to manually remove it.  The lab <br>monitor is unable to remove it because he does not have admin rights.<br><br>Last.. is there  a way to lock the desktop pattern?<br><br>_______________________________________________<br>Casper mailing list<br>Casper@list.jamfsoftware.com<br><a href="http://list.jamfsoftware.com/mailman/listinfo/casper">http://list.jamfsoftware.com/mailman/listinfo/casper</a><br>
</p>
</body>
</html>