You are not logged in.

Announcement

[2017.09.08] DeployStudio build v1.7.8 (checksum, release note).
[2016.08.26] DeployStudio build v1.6.19 (release note).
[2013.02.23] DeployStudio last universal build v1.5.17 (release note).

#1 2017-04-17 17:25:11

Frank
Member
Registered: 2016-10-10

Default profile change, where to add in the work flow?

I have a altered Mac user Default profile I would like to be the profile for all users on the Macs I use Deploy Studio to setup.  My script does rename the English.lproj and does copy the new English.lproj. The user I create in the boot up with the Deploy Studio is created before my change has taken effect. At what point the the work flow of my image process can I effect the default profile on the target Mac?

Offline

#2 2017-04-17 23:03:14

Meat
Member
From: SF CA US
Registered: 2009-02-04

Re: Default profile change, where to add in the work flow?

Is the English.lproj folder change performed before the reboot?

You should probably replace (destroy) the original English.lproj before the reboot. Then create the user after the reboot. Just an idea...

Offline

#3 2017-04-18 21:20:22

mjsanders
Member
From: Delft, Netherlands
Registered: 2008-09-02
Website

Re: Default profile change, where to add in the work flow?

Or make the changes to English.lproj in the dmg that you restore...
rebuild you dmg, or:
convert the dmg to r/w . make changes, convert back to r/o compressed.

Offline

#4 2018-03-16 11:50:41

ma web
Member
From: Amsterdam
Registered: 2015-04-29
Website

Re: Default profile change, where to add in the work flow?

User home folders are created from this script: Deploystudio Admin.app/Contents/Plugins/DSConfigureTask.bundle/Contents/Resources/Scripts/ds_add_local_users/ds_add_local_user.sh

You can disable home folder creation bij removing or comment out this part:

#  echo "  Creating local home directory" 2>&1
#  HOMES_ROOT=`dirname "${USER_HOME}"`
#  if [ -d  "${HOMES_ROOT}" ] && [ -d "/System/Library/User Template" ]
#  then
#    if [ -d "/System/Library/User Template/${USER_LOCALE}.lproj" ]
#    then
#      ditto --rsrc "/System/Library/User Template/${USER_LOCALE}.lproj" "${USER_HOME}"
#    else
#      ditto --rsrc "/System/Library/User Template/English.lproj" "${USER_HOME}"
#    fi
#  fi
#  chown -R ${USER_UID}:20 "${USER_HOME}"

We also change our default profile picture by changing:

if [ -e "/Library/User Pictures/Fun/Gingerbread Man.tif" ]
  then
    dscl /Local/Default -create users/${USER_SHORTNAME} picture "/Library/User Pictures/Fun/YourPicture.png"

Offline

Board footer

Powered by FluxBB