• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
User Template Script help?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

User Template Script help?


  • Subject: User Template Script help?
  • From: Jeffrey Madson <email@hidden>
  • Date: Thu, 07 Jan 2016 13:08:56 -0600

Hello Scripters,

I have been modifying the User Template at /System/Library for years including in Yosemite. I make a standard user account named Apple and configure it just the way I need it. I then run scripts that have changed slightly over the years to copy those settings to the User Template. I end up with a image that has a standardized user setup for every new user added.

In El Capitan I cannot get this to function even after disabling SIP. I receive permission problems with all the base folders found in the user folder. It seem like the new user that is created is still looking for "Apple" and that has been deleted. I am running the script below, is there anything I can do to assure the proper permissions be transferred? Thanks for your help!

do shell script "rm -R /System/Library/'User Template'/English.lproj/Library/" with administrator privileges

do shell script "cp -R /Users/apple/Library/ /System/Library/'User Template'/English.lproj/Library/" with administrator privileges

do shell script "rm -R /System/Library/'User Template'/English.lproj/Library/Keychains/*" with administrator privileges


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: [ANN] CalendarLib, improved Calendar scripting
  • Next by Date: Re: [ANN] CalendarLib, improved Calendar scripting
  • Previous by thread: Re: A wild OS X security hole appears!!!! [Was: Application library ?]
  • Next by thread: Error 600
  • Index(es):
    • Date
    • Thread