Casper NetSUS Not Working on CentOS 7

I thought there is something wrong with my config, it turned out that the Casper NetSUS cannot config well with CentOS.   modify /lib/systemd/system/tftp.service ExecStart=/usr/sbin/in.tftpd -s /srv/NetBoot/NetBootSP0 and then: setsebool -P tftp_anon_write 1 setsebool -P tftp_home_dir 1   when you check, they are all on now. then I did a reboot : getsebool -a | […]

How to Install DMG Application via Shell Script

Sometimes we have to install a DMG application via shell script, here is mine: #/bin/sh # Cisco Meeting Installer # Ray Qiu # Nov 28, 2016 # Download & Extract Installation Files cd /tmp curl -LOk http://xxx.com/downloads/ciscomeeting.zip sudo unzip -o ciscomeeting.zip # Install Cisco Meeting path=`hdiutil attach /tmp/ciscomeeting.dmg | grep Volumes | awk ‘{print $3}’` […]

Add Dock Items in Casper

Originally I added an application to the dock, and it didn’t work. So I changed the location a few times, it still didn’t work.  – It turned out that when you changed the location, the plist file didn’t change in Casper. the Fix is just to delete this dock item, and recreate a new one. […]

How to Get Current User as Assigned User in Casper

here is an excellent article to do that: https://macmule.com/2014/05/04/submit-user-information-from-ad-into-the-jss-at-login-v2/   here is the script : #!/bin/sh #################################################################################################### # # More information: http://macmule.com/2014/05/04/submit-user-information-from-ad-into-the-jss-at-login-v2/ # # GitRepo: https://github.com/macmule/SubmitUsernameAtReconForLDAPLookup # # License: http://macmule.com/license/ # #################################################################################################### # Get the logged in users username loggedInUser=`/bin/ls -l /dev/console | /usr/bin/awk ‘{ print $3 }’` echo “Running recon for $loggedInUser `date`…” # […]

Mac Office 2011 Casper Package

Here is the steps I got from JAMF Nation: https://jamfnation.jamfsoftware.com/discussion.html?id=13946   I use Composer only because the resulting PKG installs faster, then creating a single bundled installer. I’ve created a single installer using Packages that first installs Office 14 SP3 and then 14.4.x updater, but it takes longer time for it to install then a […]

Time Update (includes Timezone) on Mac

Here is a very useful script for auto timezone update ( will enable location service) and time update from JAMF Nation: https://jamfnation.jamfsoftware.com/discussion.html?id=13723 #!/bin/sh #Use “/usr/sbin/systemsetup -listtimezones” to see a list of available list time zones. #This script is meant to be used with Casper. # $4 variable should be filled with the TimeZone information (ie: […]

Casper Logs too big

When I first setup Casper, it was only 700KB of database file, now my casper logs went up to 17GB…it turned out to be the issue of JDS. Here is how you can check which tables are blown up: Log  into the JSS, gear icon in the upper right, JSS Information, JSS Summary, then scroll down […]