
{"id":173,"date":"2015-10-20T17:56:09","date_gmt":"2015-10-20T17:56:09","guid":{"rendered":"http:\/\/sites.lifesci.ucla.edu\/lssa-it\/?page_id=173"},"modified":"2016-02-02T14:37:08","modified_gmt":"2016-02-02T14:37:08","slug":"lssa-mac-setup-10-11-el-capitan","status":"publish","type":"page","link":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/lssa-mac-setup-10-11-el-capitan\/","title":{"rendered":"LSSA Mac Setup \u2013 10.11 (El Capitan)"},"content":{"rendered":"<h2 style=\"text-align: center\">\u00a0Configuring Mac OS X for LSSA-ADMIN Image<\/h2>\n<h2><\/h2>\n<h2>Tested with OS 10.8.5 and 10.10.5<br \/>\n1. Installing Mac OS:<br \/>\nUse Diskmaker X to Create USB installer for OS version you wish to install.<br \/>\nBoot from the usb thumbdrive<br \/>\nCreate single partition<br \/>\nInstall OS<br \/>\nCreate lssacsc user account at welcome screen<br \/>\n2. Create \u201cdefault\u201d user account<br \/>\n3. Login as default<br \/>\n4. Install OS updates<\/h2>\n<p>Copy \\\\jahvid\\installs\\Macintosh\\Image utilities\\munki-pkg-projects-master\\Outset_OL_HideUTDIsland\\payload\\usr\\local\\outset\\\u201dlogin-once\u201d folder to \/usr\/local\/outset\/<\/p>\n<p>6. Open Safari and set www.ucla.edu as home page. make google default search<br \/>\n7. Install Chrome and firefox and set www.ucla.edu as home page. Make Google default search engine. Pin to Dock<br \/>\n8. Install and configure Software and any updates. It is important to run each program under the profile account. This will skip many of the annoying first-run prompts.<br \/>\n9. Pin Apps to Dock<br \/>\n10. Configure Finder Preferences and System Preferences. See LSSA Mac Finder Preferences and View menu Options &#8211; 10.11 (El Capitan) and LSSA Mac Setup System Preferences &#8211; 10.11 (El Capitan) on wordpress site https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-admin\/post.php?post=144&amp;action=edit<br \/>\n11. Profile Cleanup<br \/>\nWhile logged in as default<br \/>\nGo to server a select forget recent servers and delete jahvid from the server field<br \/>\nRun Keychain Access (Applications\/Utilities), select \u201clogin\u201d and delete the keychain (right click &gt; Delete keychain &#8220;login&#8221;).<br \/>\nClear file histories (Apple menu -&gt; Recent Items -&gt; Clear Menu).<br \/>\nEmpty trash<br \/>\nShell Scripting Tasks<br \/>\nLog in as lssacsc<br \/>\nOpen terminal and run the following command:<br \/>\n#Delete Swapfiles<br \/>\nrm \/private\/var\/vm\/swapfile*<br \/>\nrm -Rvf \/Users\/default\/Library\/Caches\/<br \/>\n#Clean Up Global Caches and Temp Data<br \/>\nrm -rf \/Library\/Caches\/*<br \/>\nrm -rf \/System\/Library\/Caches\/*<br \/>\nrm -rf \/Users\/Shared\/*<br \/>\nrm -f \/private\/etc\/ssh_host*<br \/>\n#Cleanup Root Home Dir<br \/>\nrm -rf \/private\/var\/root\/Desktop\/*<br \/>\nrm -rf \/private\/var\/root\/Documents\/*<br \/>\nrm -rf \/private\/var\/root\/Downloads\/*<br \/>\nrm -rf \/private\/var\/root\/Library\/Caches\/*<br \/>\nrm -rf \/private\/var\/root\/Library\/Recent\\ Servers\/*<br \/>\nrm -rf \/private\/var\/root\/Library\/Logs\/*<br \/>\nrm -rf \/private\/var\/root\/Library\/Keychains\/*<br \/>\nrm -rf \/private\/var\/root\/Library\/Preferences\/ByHost\/*<br \/>\nrm -f \/private\/var\/root\/Library\/Preferences\/com.apple.recentitems.plist<br \/>\nrm -rf \/private\/var\/root\/Public\/Drop\\ Box\/*<\/p>\n<p>12. Make \u201cdefault\u201d User profile the template for future accounts<br \/>\nRestart the computer and log in as lssacsc.<br \/>\nMake a copy of the system wide default account<br \/>\ncp -R \/System\/Library\/User\\ Template\/English.lproj\/ \/System\/Library\/User\\ Template\/English.orig\/<\/p>\n<p>Clear out the existing system-wide default account:<br \/>\nrm -rf \/System\/Library\/User\\ Template\/English.lproj\/*<br \/>\nCopy your new default account to the system default account:<br \/>\ncp -R \/Users\/default\/ \/System\/Library\/User\\ Template\/English.lproj<br \/>\nNOTE: At this point, you\u2019ve now got the start of a system-wide default user profile \u2013 this is what gets used every time a new user is created on the system, including the first user when you go through the Apple Welcome process on a new computer.<br \/>\nType \u201cexit\u201d to get out of the root shell and then close Terminal and reboot the computer.<br \/>\nLog in again as lssacsc.<br \/>\n13. System Cleanup:<br \/>\nRun Disk Utility (Applications\/Utilities), select the hard drive and, under the First Aid tab, run \u201cRepair Disk Permissions\u201c. If you got things right to this point you\u2019ll see a whole stack of information where this fixes permissions for the system-wide default user profile you\u2019ve just copied. If you miss this step, permissions issues may get in the way when you create a new user later. Once you\u2019re done, close Disk Utility.<\/p>\n<p>14. To hide lssacsc account and default user account:<\/p>\n<p>Login as &#8220;uid&#8221; account<br \/>\nRemove default user from administrators group<br \/>\nOpen terminal and run the following command:<br \/>\nsudo defaults write \/Library\/Preferences\/com.apple.loginwindow Hide500Users -bool YES<br \/>\nEnsure that the &#8220;Others&#8221; option will appear at the login window &#8211; in case the Login Options is still set to &#8220;List of users&#8221; (So that we can still get to the name and password login boxes). Open terminal and run the following command:<br \/>\nsudo defaults write \/Library\/Preferences\/com.apple.loginwindow SHOWOTHERUSERS_MANAGED -bool TRUE<br \/>\nFrom System Preferences \u2013 Users and groups Change the &#8220;User ID&#8221; for each account to something in the 400-range eg\u2026 from 501 to 401<br \/>\nTurn off Hide500Users using: Open terminal and run the following command:<br \/>\nsudo defaults write \/Library\/Preferences\/com.apple.loginwindow Hide500Users -bool NO<br \/>\n&#8211; This can be done under the hidden account itself.<\/p>\n<p>15. Fix owner permissions for lssacsc home directory after changing the UID: open terminal and run the following command:<br \/>\nchown \u2013R lssacsc \/Users\/lssacsc<\/p>\n<p>14. Create Your Disk Image:<br \/>\nRestart the mac and hold down the \u201cn\u201d key to netboot<br \/>\nLogin in to K2000 Admin using lssacsc password.<br \/>\nSelect K2000 Imaging Utility on Dock<br \/>\nFill in Image name (eg.. Mac OS X 10.10.5 Yosemite 12-2-15)<br \/>\nSelect volume<br \/>\nSelect Capture Apply ASR Format Images<\/p>\n<p>Previous instruction &#8211; add to above instructions<\/p>\n<ol>\n<li>Install Office and update it<\/li>\n<li>Install Acrobat and update it<\/li>\n<li>Install Firefox, Chrome,<\/li>\n<li>Install TN3270 for OASIS<\/li>\n<li>Register hostname with DHCP reservation and set the IP\u00a0&#8220;Manually&#8221; in the &#8220;Network&#8221; System Preferences&#8230;<\/li>\n<li>Turn off WiFi and uncheck &#8220;Show wifi status in menu bar&#8221;\u00a0<a href=\"http:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-content\/uploads\/sites\/10\/2015\/10\/Screen-Shot-2015-10-20-at-10.54.56-AM.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-content\/uploads\/sites\/10\/2015\/10\/Screen-Shot-2015-10-20-at-10.54.56-AM-300x260.png\" alt=\"Screen Shot 2015-10-20 at 10.54.56 AM\" width=\"300\" height=\"260\" \/><\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>\u00a0Configuring Mac OS X for LSSA-ADMIN Image Tested with OS 10.8.5 and 10.10.5 1. Installing Mac OS: Use Diskmaker X to Create USB installer for OS version you wish to [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-173","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/pages\/173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/comments?post=173"}],"version-history":[{"count":7,"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/pages\/173\/revisions"}],"predecessor-version":[{"id":235,"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/pages\/173\/revisions\/235"}],"wp:attachment":[{"href":"https:\/\/sites.lifesci.ucla.edu\/lssa-it\/wp-json\/wp\/v2\/media?parent=173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}