Forum Replies Created
-
AuthorPosts
-
hunter
ParticipantThank you both for your insightful advice, i am working my way through your suggestions!!
hunter
ParticipantThanks Patrick, i will take your advice and correct a few things as suggested and work towards moving the bulk of this into a pkg post-flight script. I havent done that up to this point, so i am not 100% sure on how to accomplish that. What i have done so far, just to give you a little background, was to take a Retail 10.5 DVD and create an image out of that using DiskUtility. Then worked with InstaUp2date and the Apple updates and security update packages, as well as createUser and clearReg packages, and rolling an image that i can then NetRestore from a netbooted client machine. Nothing really magic there, but i havent gotten into the post-flight stuff yet, and again, not sure just how to go about doing that.
hunter
ParticipantAhh Haaa!! I will remove that, thanks to both responses. That will fix the first issue. Now to look closer at the second.
hunter
ParticipantI know it shouldnt, LOL, thats why i was asking, its really odd behavior and i cant explain it. here is the
system setup shell script contents:[code]
#!/bin/bash#No .ds-store on network shares
defaults write com.apple.desktopservices DSDontWriteNetworkStores true#turn off time machine
defaults write /Library/Preferences/com.apple.TimeMachine DoNotOfferNewDisksForBackup -bool YES#disable time machine in general
defaults write /Library/Preferences/com.apple.TimeMachine AutoBackup 0#disable time machine new disk requests
defaults write com.apple.TimeMachine DoNotOfferNewDisksForBackup 1#change status of the firewall: 0=off 1=on for specific services and 2=on for essential services
sudo defaults write /Library/Preferences/com.apple.alf globalstate -int 0#Globaly set the large print dialouge box
defaults write /Library/Preferences/.GlobalPreferences PMPrintingExpandedStateForPrint -bool TRUE#use expanded save dialouges
defaults write -g NSNavPanelExpandedStateForSaveMode -bool TRUE#use short name as default for logging into network shares
defaults write /Library/Preferences/com.apple.NetworkAuthorization UseDefaultName -bool NO
defaults write /Library/Preferences/com.apple.NetworkAuthorization UseShortName -bool YES#set screen capture file format
defaults write com.apple.screencapture type pdf#set the clock to display seconds
defaults write com.apple.MenuBarClock DisplaySeconds 1#Adds Recents Things Stack to dock
defaults write com.apple.dock persistent-others -array-add ‘{ “tile-data” = { “list-type” = 1; }; “tile-type” = “recents-tile”; }’#Hide sub 500UID users
defaults write /Library/Preferences/com.apple.loginwindow Hide500Users -bool TRUE#Hide the Other user from login etc.
defaults write /Library/Preferences/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool FALSE#Time Zone Setup
systemsetup -settimezone America/New_York#Set to use Network Time Server dc3
systemsetup -setusingnetworktime on
systemsetup -setnetworktimeserver dc3#Enable ARD for admin
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -configure -allowAccessFor -specifiedUsers
/System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -activate -configure -access -on -users “admin” -privs -all -restart -agent#Start Remote Login
sudo /sbin/service ssh start#Set ASUS to xserve1
sudo defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL “http://xserve1:8088/”
sudo defaults write com.apple.SoftwareUpdate CatalogURL “http://xserve1:8088/”#Modify pre-created local admin Desktop/Dock
sudo mv /Library/Scripts/RCS/usermod/com.apple.desktop.plist /Users/ladmin/Library/Preferences/com.apple/desktop.plist
sudo mv /Library/Scripts/RCS/usermod/com.apple.dock.plist /Users/ladmin/Library/Preferences/com.apple.dock.plist
sudo mv /Library/Scripts/RCS/usermod/com.apple.dock.db /Users/ladmin/Library/Preferences/com.apple.dock.db
sudo rmdir /Library/Scripts/RCS/usermod#Remove Launchd item
sudo rm /Library/LaunchDaemons/org.server.systemsetup.plist#Reboot in 1 minute
sleep 60
sudo reboot#Self Destruct
srm “$0”
[/code]Launch Daemon contents:
[code]
[/code]
Disabled
Label
org.server.systemsetup
ProgramArguments
sudo
./Library/Scripts/RCS/systemsetup.sh
RunAtLoad
I would put it in the User Template but this is only for the one user that will be pre-created on the system. Is there no way
to get this done in this manner then? And at this point the machine isnt bound to AD or OD though i would agree using
MCX is a much better and more graceful solution. -
AuthorPosts
Recent Comments