Forum Replies Created
-
AuthorPosts
-
Laura
ParticipantDEAR LORD THANKYOU
This has been an issue for me also with an authenticating proxy, Apple couldn’t even tell me what was going on
thankyouthankyouthankyou for working through this and posting your findings you are a saviour.
Laura
ParticipantHey Allister, for ARD and SSH I used a first boot script rather than a preflight script. Here are the commands
Turn on all ARD priv for admin user:
kickstart=”/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart”
$kickstart -configure -activate -clientopts -setmenuextra -menuextra yes
$kickstart -configure -allowAccessFor -specifiedUsers
$kickstart -configure -access -on -privs -all -users adminTurn on SSH for all users
systemsetup=”/usr/sbin/systemsetup”
$systemsetup -setremotelogin on
foilpan:
I’ve basically cannibalised the post flight script provided here so all the variables to paths are as such:
PREFS_DIR=”$3/Library/Preferences”
USERPREFS_DIR=”$3/System/Library/User Template/English.lproj/Library/Preferences”And as I said most other settings I’ve tried work perfectly just not those few I’ve listed =/
Laura
ParticipantOk so I have been doing some testing
I made a payload less package, with a script that just uses touch to create an empty file in /Users/Shared which failed. (The package installed without errors according to InstaDMG but no file existed in the location)
I have been reading: http://www.osxdeployment.com/wiki/InstaUp2Date_Guide to try and understand the process better.
When I created my package using PackageMaker I chose a minimum target of 10.5 which doesn’t give you the options of postflight and preflight but postinstall and preinstall
Should I be choosing 10.4 as minimum target to get the *flight options and use those?
Should it matter whether my script is post- or pre- install?
Is appending “$3” to the start of each path, per the above link examples, necessary? Is this some kinda funky Lion stuff I’m running into?
These are the sort of “Best Practice” answers I’m looking for, not specifics on one particular package but generally the best way to go about things
Thanks much.
-
AuthorPosts
Recent Comments