User Template Script help?
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