Skip to main content
Question

deploy a pdf file to desktops

  • February 7, 2012
  • 3 replies
  • 10 views

Forum|alt.badge.img+1

I am at a school and want to deploy a pdf file to students desktops. can someone explain what I need to do to achieve this?

3 replies

donmontalvo
Forum|alt.badge.img+36
  • Hall of Fame
  • February 7, 2012

Create a package using Composer. Use DMG format and [x] Fill User Templates and [x] Fill Existing User Home Directories. See pg 111 and 112 of the Casper Suite admin guide.

There is a way to do this with PKG format (the standard we're using) but it involves scripting...

Don


Forum|alt.badge.img+12
  • Contributor
  • February 7, 2012

FEU only works as expected when the /Users directory is in the standard location though. We are using a symlink to another partition to hold user data, and FEU NEVER works as expected. Our fallback is to use packages and a post-flight script to "FEU." FUT works as expected.


karthikeyan_mac
Forum|alt.badge.img+18
  • Honored Contributor
  • February 7, 2012

Hi,

Package to store the pdf it in /tmp and add a post flight script to loop through the Users directory and copy the file to desktop.

Change the below script as you need....

for i in $(/bin/ls /Users | sed -e '/Shared/d' -e '/Deleted Users/d' -e '/.localized/d'
 -e '/.DS_Store/d' -e '/.com.apple.timemachine.supported/d' -e '/Adobe/d' -e '/Library/d');

do

/usr/bin/ditto /tmp/USERCRAP /Users/$i
/usr/sbin/chown -R $i:staff /Users/$i

done

Thanks & Regards,
Karthikeyan