<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Make Mac Work</title>
	
	<link>http://www.makemacwork.com</link>
	<description>Helping Manage The Macintosh Enterprise</description>
	<lastBuildDate>Mon, 31 Aug 2009 07:00:55 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/makemacwork" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
		<title>Configure Exchange Email</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/EHkrz-alrAo/configure-exchange-email.htm</link>
		<comments>http://www.makemacwork.com/configure-exchange-email.htm#comments</comments>
		<pubDate>Mon, 31 Aug 2009 07:00:55 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Exchange]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/configure-exchange-email.htm</guid>
		<description><![CDATA[Of all the improvements that Snow Leopard offers corporate users, native Exchange compatibility is by far the most obvious. And unlike configuring Microsoft&#8217;s own Entourage, a long-standing complaint among corporate IT staff, how one configures Exchange accounts in Snow Leopard is fairly obvious as well. That said, it&#8217;s also the single most requested topic we&#8217;ve [...]]]></description>
			<content:encoded><![CDATA[<p>Of all the improvements that Snow Leopard offers corporate users, native Exchange compatibility is by far the most obvious. And unlike configuring Microsoft&#8217;s own Entourage, a long-standing complaint among corporate IT staff, how one configures Exchange accounts in Snow Leopard is fairly obvious as well. That said, it&#8217;s also the single most requested topic we&#8217;ve received since Snow Leopard was first announced, and the subject of our very first 10.6 article.</p>
<h3>Configuring Exchange Email in Snow Leopard:</h3>
<p>If you&#8217;ve only been using Entourage for Exchange integration, there&#8217;s a chance your users have never even launched Apple&#8217;s native Mail client, and opening the application for the first time will launch Mail&#8217;s setup assistant. If you simply need to add an Exchange account to an existing Mail setup, the same assistant can be reached by selecting &#8220;Preferences&#8230;&#8221; from the &#8220;Mail&#8221; menu and adding a new account in the &#8220;Accounts&#8221; section. </p>
<p><img alt="Mail - Setup Assistant 1" src="http://www.makemacwork.com/wp-content/images/exchangesetup1.png" /></p>
<p>In the first pane of the assistant you can simply type the user&#8217;s name, their email address, and their Exchange password.</p>
<p><img alt="Mail - Setup Assistant 2" src="http://www.makemacwork.com/wp-content/images/exchangesetup2.png" /></p>
<p>In the second pane you&#8217;ll have to select &#8220;Exchange 2007&#8243;, as Snow Leopard connects via the new Exchange Web Services and doesn&#8217;t support earlier versions of Exchange Server. You&#8217;ll also have to give the configuration a name. If your Exchange server is on the local network and runs the Autodiscover service, Mail should automatically populate the remaining fields. If not, you&#8217;ll need to fill in the fully qualified hostname of the Exchange server, the user&#8217;s login name, and their password. You&#8217;ll also want to check the &#8220;Address Book contacts&#8221; and &#8220;iCal Calendars&#8221; boxes, allowing users access to the company&#8217;s Global Address List and employee schedules.</p>
<p><img alt="Mail - Setup Assistant 3" src="http://www.makemacwork.com/wp-content/images/exchangesetup3.png" /></p>
<p>The third pane simply confirms the information you&#8217;ve already entered before taking the new configuration online. In a perfect world you can click &#8220;Create&#8221;, and you&#8217;re all set.</p>
<h3>Troubleshooting Exchange Email in Snow Leopard:</h3>
<p>Unfortunately, things don&#8217;t always go perfectly. While Snow Leopard does a pretty good job of configuring Exchange accounts on its own, it frequently needs a helping hand from a friendly IT representative. </p>
<p>The most common configuration issue is that Mail tracks both an internal and external Exchange server, but only configures the internal server by default. If your users connect to Exchange over the internet and without VPN, you&#8217;ll need to populate that second field. If the hostname of your Exchange server resolves differently internally and externally, you&#8217;ll need to configure that as well. These settings are found by selecting &#8220;Preferences&#8230;&#8221; from the &#8220;Mail&#8221; menu, and navigating to the &#8220;Account Information&#8221; pane of the &#8220;Accounts&#8221; section.</p>
<p><img alt="Mail - Preferences - Accounts - Account Information" src="http://www.makemacwork.com/wp-content/images/exchange-accountinformation.png" /></p>
<p>Similarly, Mail stores separate EWS paths and ports for the internal and external server addresses in the &#8220;Advanced&#8221; pane of the same section. Chances are you&#8217;ll want the same path and port for both, but Mail will only configure the &#8220;Internal&#8221; options by default. These two options are obvious once you realize they&#8217;re there, but their absence from the initial configuration screens can cause a lot of confusion.</p>
<p><img alt="Mail - Preferences - Accounts - Advanced" src="http://www.makemacwork.com/wp-content/images/exchange-advanced.png" /></p>
<p>Once you&#8217;ve corrected those settings, you should be able to sync a user&#8217;s Exchange account with their local machine immediately. </p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/EHkrz-alrAo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/configure-exchange-email.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/configure-exchange-email.htm</feedburner:origLink></item>
		<item>
		<title>Secure Finder Permissions</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/unGZ05ktrYA/secure-finder-permissions.htm</link>
		<comments>http://www.makemacwork.com/secure-finder-permissions.htm#comments</comments>
		<pubDate>Mon, 17 Aug 2009 07:00:00 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[System Settings]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/secure-finder-permissions/</guid>
		<description><![CDATA[File permissions are something systems administrators deal with every day. Usually when somebody can&#8217;t read something on the server, and they need you to figure out why. In multi-user environments, however, what people can&#8217;t read is often as important as what they can, and by default the Mac OS X Finder may allow people to [...]]]></description>
			<content:encoded><![CDATA[<p>File permissions are something systems administrators deal with every day. Usually when somebody can&#8217;t read something on the server, and they need you to figure out why. In multi-user environments, however, what people can&#8217;t read is often as important as what they can, and by default the Mac OS X Finder may allow people to read far more than your users expect.</p>
<h3>A Complex Explanation of Unix Permissions:</h3>
<p>In cross-platform deployments, permissions may most often be Windows-style ACLs (access control lists), allowing a wide variety of context-sensitive settings but requiring a degree of administrative overhead to set up and maintain. On native Mac OS X systems, you&#8217;ll most likely be dealing with POSIX-style permissions (also known as Unix permissions) which define file access as granted to the owner, the group, and others. This information is available for every file and folder in the Finder by highlighting an item and choosing &#8220;Get Info&#8221; in the &#8220;File&#8221; menu, then selecting &#8220;Ownership and Permissions&#8221; in the window that appears.</p>
<p>The underlying Unix operating system keeps track of those file permissions as numeric values, where <tt>4</tt> represents read, <tt>2</tt> represents write, and <tt>1</tt> represents execute (which the Finder doesn&#8217;t report). These values are additive, so that a file which allows read and write access to it&#8217;s owner and read-only access to it&#8217;s group and others is denoted as <tt>644</tt>, with the <tt>6</tt> being the sum of <tt>4</tt> for read and <tt>2</tt> for write. For a directory these read and write permissions are denoted as <tt>755</tt> (without execute permissions a user is unable to interact with or even list directory contents, so an additional <tt>1</tt> is added to each position). It&#8217;s these numeric values that are used by Unix commands like <tt>chown</tt> and <tt>chmod</tt>, which change ownership and permissions mode respectively.</p>
<p>When you create a new file the default permissions are defined by a value called the <tt>umask</tt>. This value is subtracted from <tt>666</tt> for regular files (and <tt>777</tt> for directories) to determine their access privileges. So when creating a new folder, a umask of <tt>022</tt> would yield permissions of <tt>755</tt>, allowing the owner to both read and write enclosed files while the group and others are able to read them. Unfortunately, these are the settings used by the Finder in a new OS X installation.</p>
<h3>A Simple Way to Improve Finder Security:</h3>
<p>By default, the Finder creates folders with permissions that allow read access to anyone who can log in to your machine. This isn&#8217;t a problem if users only save files in the pre-existing folders in their home directory (like Documents), as their permissions already prevent access by anyone but the user.</p>
<p>When users create additional directories, however, the documents stored inside them can be accessed by other users on that computer (or in the case of servers and when file-sharing is enabled, by anyone on the network). This is seldom the behavior that users expect, and in many settings it can present a serious security problem.</p>
<p>There are lots of ways to adjust the <tt>umask</tt> system-wide, depending on the OS version you&#8217;re using (such as the <tt>GlobalPreferences.plist</tt> and the <tt>NSUmask</tt> property). Unfortunately, setting the <tt>umask</tt> for the entire system is also a really good way to break things unexpectedly.  </p>
<p>The easy way to solve this issue is to adjust the Finder&#8217;s <tt>umask</tt> settings by creating a new preferences file on the command line. So long as the files your applications save are inside folders the Finder created, you&#8217;ll have the security you need to prevent casual snooping. While logged in as an administrative user, open the Terminal and type:</p>
<p><code><strong>defaults write /Library/Preferences/com.apple.finder \<br />umask -int 077</strong></code></p>
<p>On their next login, users who create new folders in the Finder will have their permissions set automatically to <tt>700</tt> &#8212; allowing them to read and write the contents but preventing access by any other users entirely.</p>
<p><span class="note">Recommended Reading: </span>Is there anything that Wikipedia can&#8217;t explain? I&#8217;m not sure, but for more information on this topic, take a look at their excellent <a href="http://en.wikipedia.org/wiki/file_system_permissions">file system permissions</a> entry.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/unGZ05ktrYA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/secure-finder-permissions.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/secure-finder-permissions.htm</feedburner:origLink></item>
		<item>
		<title>Monitor Servers Remotely</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/j7F3stJtX9A/monito-servers-remotely.htm</link>
		<comments>http://www.makemacwork.com/monito-servers-remotely.htm#comments</comments>
		<pubDate>Mon, 10 Aug 2009 07:00:56 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/administer-servers-remotely.htm</guid>
		<description><![CDATA[Apple&#8217;s Server Admin tool is the heart of the OS X Server experience, allowing you to do observe and administer servers from any location with a laptop and an internet connection. There are times, though, when you don&#8217;t even have that available. If you have an iPhone, you can still check in on the operation [...]]]></description>
			<content:encoded><![CDATA[<p>Apple&#8217;s Server Admin tool is the heart of the OS X Server experience, allowing you to do observe and administer servers from any location with a laptop and an internet connection. There are times, though, when you don&#8217;t even have that available. If you have an iPhone, you can still check in on the operation of essential systems with Harlekins&#8217; <a href="http://www.harlekins.org/ServerAdminRemote/Server_Admin_Remote.html">Server Admin Remote</a>.</p>
<p>Like a stripped-down version of Server Admin, you configure the servers you&#8217;d like to monitor and switch between them. For each machine, you can observer the processor, network, and disk activity, as well as monitoring the individual services you&#8217;re running. Server Admin Remote also allows you to read your server&#8217;s log files, and connect via the command line for quick administrative tasks (if you&#8217;ve already got an SSH client on your iPhone). All you need is access to each machine via either VPN or forwarding of port 311, and a quick check of an important system is just a single touch away from anywhere.</p>
<p>Server Admin Remote isn&#8217;t perfect. The interface can be disorganized, unintuitive, and even buggy in places. Once you&#8217;ve learned its idiosyncrasies, though, there&#8217;s no better way to keep an eye on your servers during your commute, in meetings, or even just on an extra-long lunch break. It&#8217;s a solid application that can reduce your response times and increase your piece of mind.</p>
<p>Server Admin Remote sells for $7.99 retail <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=300347476&#038;mt=8">via iTunes</a>.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/j7F3stJtX9A" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/monito-servers-remotely.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/monito-servers-remotely.htm</feedburner:origLink></item>
		<item>
		<title>Control Individual Service Access</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/OvVDNs8C4QA/control-individual-service-access.htm</link>
		<comments>http://www.makemacwork.com/control-individual-service-access.htm#comments</comments>
		<pubDate>Mon, 27 Jul 2009 07:00:00 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[System Settings]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/limit-service-access/</guid>
		<description><![CDATA[The sales team need VPN for travel. The finance department needs Windows File Sharing. Freelancers need to deliver work via FTP, but they shouldn&#8217;t ever be able to log in from the console. Your server needs to offer a variety of services, but you don&#8217;t want to offer every service to every user with an [...]]]></description>
			<content:encoded><![CDATA[<p>The sales team need VPN for travel. The finance department needs Windows File Sharing. Freelancers need to deliver work via FTP, but they shouldn&#8217;t ever be able to log in from the console. Your server needs to offer a variety of services, but you don&#8217;t want to offer every service to every user with an account. Using the access panel built into the Server Admin application, you can set finely grained controls over which users and groups can utilize which services.</p>
<p>While these restrictions can be determined on a user-by-user basis, this approach can quickly become hard to manage. The more scalable option is to utilize groups, either from existing directory services or created specifically for this purpose on the local machine.</p>
<p>With your access model planned, open Server Admin as an administrative user and highlight your server name in the left column. Then choose the Access button from the strip along the top right, and you&#8217;ll see a list of the services available to regulate.</p>
<p><img alt="Service Admin: Service Access Control Lists" src="http://www.makemacwork.com/wp-content/images/serveradmin-access-services.png" /></p>
<p>Simply uncheck &#8220;Use same access for all services&#8221; then choose a service on the left, adding users and groups to the list on the right with the plus button. When you&#8217;ve configured the services to your satisfaction, hit &#8220;Save&#8221; to enforce your policy.</p>
<p>The procedure is deceptively straightforward. Login Window can easily be configured to lock all users out of the machine, for instance, so it&#8217;s best to have a strategy for each service individually. </p>
<p>There&#8217;s also one service Server Admin doesn&#8217;t control access to at all. Just like individual client machines, the ability to remotely control your server is regulated in the System Preferences under the Sharing pane. Select &#8220;Apple Remote Desktop&#8221; from the list presented, then click &#8220;Access Privileges&#8230;&#8221; for the full complement of options.</p>
<p>With this approach, you can get some granular control over which services are available to which individuals, improving your security while diminishing your workload.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/OvVDNs8C4QA" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/control-individual-service-access.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/control-individual-service-access.htm</feedburner:origLink></item>
		<item>
		<title>Hide Administrative User Accounts</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/3gqjRZrNPzc/hide-administrative-user-accounts.htm</link>
		<comments>http://www.makemacwork.com/hide-administrative-user-accounts.htm#comments</comments>
		<pubDate>Mon, 20 Jul 2009 07:00:28 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[System Settings]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/hide-administrative-user-accounts.htm</guid>
		<description><![CDATA[While never technically required (though often politically desirable), hiding local administrative accounts on Leopard workstations and laptops is one of the most popular requests we receive from IT personnel. The most common scenario is removing a pre-existing administrative account from view. This is a typical approach when building a disk image for manual cloning or [...]]]></description>
			<content:encoded><![CDATA[<p>While never technically required (though often politically desirable), hiding local administrative accounts on Leopard workstations and laptops is one of the most popular requests we receive from IT personnel. The most common scenario is removing a pre-existing administrative account from view. This is a typical approach when building a disk image for manual cloning or <a href="http://www.makemacwork.com/configure-network-installation.htm">installation via NetInstall</a>, and in this article we&#8217;ll take a look at the steps it requires.</p>
<p>In a stock Mac OS X installation, the first account created during the installation process always has administrative privileges. That first account is also always assigned the UniqueID (the number by which the operating system identifies users) of <tt>501</tt>. Since there&#8217;s a built-in preference setting that will hide accounts with a <tt>UID</tt> below <tt>500</tt>, changing that number with the <tt>dscl</tt> command is a good place to start. </p>
<p>It&#8217;s advisable to do this from the <tt>root</tt> account (where you won&#8217;t need to use <tt>sudo</tt> for the following commands), or from another administrative account created for this purpose. Open the Terminal, and type:</p>
<p><code><strong>sudo dscl . -change /Users/ADMIN UniqueID 501 NEWUID</strong></code></p>
<p>Change <tt>ADMIN</tt> to the name of your actual administrative user, and <tt>NEWUID</tt> to the new UniqueID number you&#8217;d like to use. While many numbers below <tt>500</tt> are used by the operating system, <tt>490-499</tt> are left unused by default.</p>
<p>Because we&#8217;ve changed the <tt>UID</tt>, which is used to determine ownership of files, we&#8217;ll need to make sure that any files owned by that user (especially their home directory) have their ownership changed to the new <tt>UID</tt> as well. This can be accomplished by searching for those files with the Unix <tt>find</tt> command, then changing their ownership with <tt>chown</tt> to the new <tt>UID</tt>:</p>
<p><code><strong>sudo find / -user 501 -exec chown NEWUID {} \;</strong></code></p>
<p>With file ownership now matching the new administrative <tt>UID</tt>, the last task is to tell the system not to display the administrative user at login or in the Fast User Switching menu. This is accomplished by editing the LoginWindow preferences file, by typing:</p>
<p><code><strong>sudo defaults write /Library/Preferences/com.apple.loginwindow \<br />Hide500Users -bool TRUE</strong></code></p>
<p>With this command, the initial administrative account will be hidden entirely, but it&#8217;s home directory will still be visible in the <tt>/Users</tt> directory. This is fine for most environments, but if you want that home directory hidden, you can move it to a hidden location and tell the OS to look there with the <tt>dscl</tt> command. </p>
<p>OS X keeps the <tt>root</tt> home directory in the hidden <tt>/var</tt> directory. That&#8217;s unusual for Unix, but it sets a precedent you might as well follow. To hide your administrative account&#8217;s home directory in the same manner, move it by typing:</p>
<p><code><strong>sudo mv /Users/ADMIN /var/ADMIN</strong></code></p>
<p>With the directory now hidden from the Finder, set its new location with:</p>
<p><code><strong>sudo dscl . -change /Users/ADMIN NFSHomeDirectory \<br />/Users/ADMIN /var/ADMIN</strong></code></p>
<p>In both these cases, change <tt>ADMIN</tt> to the name of your actual administrative user account. With this method, your administrative account should be entirely hidden from view, allowing you to keep both it&#8217;s name and it&#8217;s existence a secret from typical users.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/3gqjRZrNPzc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/hide-administrative-user-accounts.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/hide-administrative-user-accounts.htm</feedburner:origLink></item>
		<item>
		<title>Mirror Disks After Install</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/DW-yhzaOB-Q/mirror-disks-after-install.htm</link>
		<comments>http://www.makemacwork.com/mirror-disks-after-install.htm#comments</comments>
		<pubDate>Mon, 13 Jul 2009 07:00:00 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[System Settings]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/mirror-disks-after-install/</guid>
		<description><![CDATA[Disk mirroring, where data is written to two disks simultaneously, is a great low cost method to protect against single-disk failure and improve read-intensive performance.  Apple&#8217;s Disk Utility provides an easy way to set two disks up as a RAID mirror prior to installation. Once the operating system has been installed, though, OS X [...]]]></description>
			<content:encoded><![CDATA[<p>Disk mirroring, where data is written to two disks simultaneously, is a great low cost method to protect against single-disk failure and improve read-intensive performance.  Apple&#8217;s Disk Utility provides an easy way to set two disks up as a RAID mirror prior to installation. Once the operating system has been installed, though, OS X can&#8217;t mirror an existing drive without completely reformatting. Unless, of course, you choose to do some from the command line.</p>
<p>Now this process has the potential to destroy all the data on your machine, so make sure you have a current backup of the drive you&#8217;re going to mirror and confirm the backup is both restorable and bootable. Also, if you&#8217;re mirroring your existing startup disk, you&#8217;ll need to boot off an installation DVD or external drive for the first part of the operation. But if you have a system disk that isn&#8217;t already mirrored, this procedure can save you a lot of time and frustration.</p>
<p>First, from the Terminal, type:</p>
<p><code><strong>diskutil list</strong></code></p>
<p>This will produce a listing of the attached disks, along with their types, names, sizes, and identifiers, like so:</p>
<p><code><strong>/dev/disk1<br />#:                   type name         size       identifier<br />0: Apple_partition_scheme              *465.8 GB  disk1<br />1:    Apple_partition_map              31.5 KB    disk1s1<br />2:              Apple_HFS Server Disk  465.6 GB   disk1s2</strong></code></p>
<p>Use the name of the volume you wish to mirror to find it&#8217;s identifier. If your machine only has one internal hard drive, for instance, the identifier of your boot volume will most likely be <tt>disk1s2</tt>, the second slice (after the partition scheme and map) of disk 1. Once you&#8217;ve determined which disk you&#8217;re working with, type the following, replacing <tt>IDENTIFIER</tt> appropriately:</p>
<p><code><strong>sudo diskutil enableRAID mirror IDENTIFIER</strong></code></p>
<p>If all goes well, the disk will unmount, reappearing in the Finder a moment later along with &#8220;The disk has been converted into a RAID&#8221; reported in the Terminal. At this point you can insert the additional disk you wish to use in the mirrored RAID array (assuming it&#8217;s not installed already), then reboot the machine off the original drive.</p>
<p>Now when when you run <tt>diskutil list</tt> from the Terminal you should see two new listings, one for the new virtual RAID array (the one without slice information) and the other for the additional physical disk you installed.</p>
<p><code><strong>/dev/disk2<br />#:                   type name         size      identifier<br />0:              Apple_HFS Server Disk  *465.6 GB disk2<br />/dev/disk3<br />#:                   type name         size      identifier<br />0:  GUID_partition_scheme              *465.6 GB disk3<br />1:                    EFI              200.0 MB  disk3s1<br />2:              Apple_HFS New Disk     465.4 GB  disk3s2</strong></code></p>
<p>Now with the necessary identifier information, you can assign the physical disk to the mirrored RAID array, replacing <tt>RAIDARRAY</tt> with the RAID volume (in our example <tt>disk2</tt>) and <tt>NEWDISK</tt> with the hard drive being added (here <tt>disk3</tt>):</p>
<p><code><strong>sudo diskutil addToRAID member NEWDISK RAIDARRAY &#038;</strong></code></p>
<p>How long the RAID mirror takes to build depends on how much data is on the original volume, but the ampersand at the end of the command tells it to run in the background. When the process is completed you&#8217;ll have two fully mirrored and redundant disks, built from your existing installation without ever having to erase the original volume.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/DW-yhzaOB-Q" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/mirror-disks-after-install.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/mirror-disks-after-install.htm</feedburner:origLink></item>
		<item>
		<title>Find Invalid Font Files</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/l3JRShNV7DM/find-invalid-font-files.htm</link>
		<comments>http://www.makemacwork.com/find-invalid-font-files.htm#comments</comments>
		<pubDate>Mon, 06 Jul 2009 07:00:04 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/find-invalid-font-files.htm</guid>
		<description><![CDATA[Just because solving a problem is easy doesn&#8217;t mean it&#8217;s an easy problem. The issue of &#8220;corrupted&#8221; or out-of-spec font files causing operating system or application crashes is a long-standing thorn in the side of Mac users and administrators. That&#8217;s because font files are software that interacts directly with the OS, but that software is [...]]]></description>
			<content:encoded><![CDATA[<p>Just because solving a problem is easy doesn&#8217;t mean it&#8217;s an easy problem. The issue of &#8220;corrupted&#8221; or out-of-spec font files causing operating system or application crashes is a long-standing thorn in the side of Mac users and administrators. That&#8217;s because font files are software that interacts directly with the OS, but that software is often judged (and purchased) on aesthetic, rather than technical, grounds. While the problem of bad font software isn&#8217;t likely to go away any time soon, it&#8217;s at least possible to solve the problem of locating and removing those files.</p>
<p>Beginning in OS X 10.5 (Leopard), Apple built in the ability to run validity checks on any font file. Those checks can be done when the fonts are loaded into Font Book, but they&#8217;re also run beforehand when your disks are indexed by Spotlight. By using <tt>mdfind</tt>, one of the command line tools that works behind the Spotlight interface, it&#8217;s easy to find all the indexed files that may contain bad font data. Open the Terminal and type:</p>
<p><code><strong>mdfind "com_apple_ats_font_invalid == 1"</strong></code></p>
<p>This short and simple trick will return a list of all the suspect font files stored on any machine, whether they&#8217;re loaded in one of your user&#8217;s font folders or just stored on a spare external drive. Push the command out with Apple Remote Desktop, and you&#8217;ve got a list of every questionable font on every machine at your whole company. Once you&#8217;ve located these potential problems, it should be easy to round them up and remove them before they cause additional frustration.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/l3JRShNV7DM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/find-invalid-font-files.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/find-invalid-font-files.htm</feedburner:origLink></item>
		<item>
		<title>Enable Remote System Logging</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/16OJnoiXhnM/enable-remote-system-logging.htm</link>
		<comments>http://www.makemacwork.com/enable-remote-system-logging.htm#comments</comments>
		<pubDate>Mon, 29 Jun 2009 07:00:37 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[OS X Server]]></category>
		<category><![CDATA[System Settings]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/enable-remote-system-logging.htm</guid>
		<description><![CDATA[If you&#8217;ve ever had to troubleshoot a Mac OS X machine, you probably know how invaluable the system logs can be. By simply opening the Console application in the Utilities folder, you can browse the information logged by almost any process on the machine. But how can you compare that data over a large number [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever had to troubleshoot a Mac OS X machine, you probably know how invaluable the system logs can be. By simply opening the Console application in the Utilities folder, you can browse the information logged by almost any process on the machine. But how can you compare that data over a large number of systems, or look at the logs for a machine that isn&#8217;t right in front of you? It&#8217;s simply a matter of properly configuring <tt>syslogd</tt>.</p>
<h3>Listening For Syslog Data:</h3>
<p>Like all Unix systems, Mac OS X logs it&#8217;s system activity through <tt>syslogd</tt>, the system logging daemon. This facility keeps track of all the system activity specified in <tt>/etc/syslog.conf</tt>, which details the kind of information to log (based on its process of origin) and its level of priority (set by its parent process). This system is well documented by simply typing &#8220;<tt>man syslog</tt>&#8221; at the command line. What isn&#8217;t so easy to find is how to configure OS X clients to send this data to a central collection server for analysis.</p>
<p>The secret is hidden in <tt>/System/Library/LaunchDaemons/com.apple.syslogd.plist</tt>. The last item in the file is a key named <tt>NetworkListener</tt>, and by removing the comment characters around it you can tell your Mac server to listen for any and all logging information sent to it via UDP port 514. Once that&#8217;s done, you&#8217;ll need to restart the syslog mechanism by opening the Terminal and typing:</p>
<p><code><strong>sudo launchctl unload \<br />/System/Library/LaunchDaemons/com.apple.syslogd.plist<br />sudo launchctl load \<br />/System/Library/LaunchDaemons/com.apple.syslogd.plist</strong></code></p>
<p>With <tt>syslogd</tt> restarted, your server can now receive and store remote logging data from Macintosh clients, networking devices, and other Unix-compatible systems.</p>
<h3>Sending Remote Syslog Data:</h3>
<p>Now you&#8217;ve got a brand new <tt>syslog</tt> server. It&#8217;s listening, but nothing&#8217;s talking to it yet. For that, we&#8217;ll need to edit <tt>/etc/syslog.conf</tt> on your client machines, telling them what (and where) to report.</p>
<p>Open the file in any text editor, and you&#8217;ll see the following format on the very first line:</p>
<p><code><strong>auth.info;authpriv.*;remoteauth.crit          /var/log/secure.log</strong></code></p>
<p>On the left side are a series of &#8220;selectors&#8221;, each separated by a semi-colon. Each selector is made up of a &#8220;facility&#8221; (before the period), which indicates the category being logged to, and a &#8220;level&#8221; (after the period), which indicates the level of importance that a message from that category needs to reach before it&#8217;s logged. An asterisk acts as a wildcard, including any possible facility or level. </p>
<p>On the right side is an &#8220;action&#8221;, preformed when <tt>syslogd</tt> receives a message matching the specified selector. This is most often expressed as a local log file, but can also be another machine listening for <tt>syslog</tt> data.</p>
<p>So if you wanted to log every possible message to the <tt>syslog</tt> server, you could simply add the following line (replacing <tt>server.example.com</tt> with the name of your local server):</p>
<p><code><strong>*.*          @server.example.com</strong></code></p>
<p>That would send all that messages from any facility at any level of priority to your new syslog server. That configuration&#8217;s fine for testing a single machine, but unless your goal is to completely flood your local network with logging traffic, you&#8217;ll need to narrow down your selectors significantly before you push your revised file out to all your client machines.</p>
<p>Once you determine what information is important to your organization, you can build a custom <tt>syslog.conf</tt> file to install across your whole network, and begin collecting system log information for all your machines.</p>
<p><span class="note">Recommended Reading:</span> For in-depth information on configuring remote logging, check the manpages for <tt>syslogd</tt>, <tt>syslog</tt>, <tt>syslog.conf</tt>, and <tt>logger</tt>.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/16OJnoiXhnM" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/enable-remote-system-logging.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/enable-remote-system-logging.htm</feedburner:origLink></item>
		<item>
		<title>Repair Spotlight Indexing</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/_4m8RFNoyTE/repair-spotlight-indexing.htm</link>
		<comments>http://www.makemacwork.com/repair-spotlight-indexing.htm#comments</comments>
		<pubDate>Mon, 22 Jun 2009 07:00:52 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/repair-spotlight-indexing.htm</guid>
		<description><![CDATA[You&#8217;re looking for an email invitation you sent months ago, but the option to search through each &#8220;Entire Message&#8221; in Mail is grayed out entirely. Instead, you search iCal for the appointment itself, only to find the results are empty. Thinking you have the minutes stored somewhere on your hard drive, you try searching in [...]]]></description>
			<content:encoded><![CDATA[<p>You&#8217;re looking for an email invitation you sent months ago, but the option to search through each &#8220;Entire Message&#8221; in Mail is grayed out entirely. Instead, you search iCal for the appointment itself, only to find the results are empty. Thinking you have the minutes stored somewhere on your hard drive, you try searching in the Finder but discover that even items displayed in open windows can&#8217;t be located. Spotlight indexing has broken on your local machine.</p>
<p>Leopard brought a number of improvements to Spotlight, the OS X search mechanism, including system-wide integration with the Finder and native applications. This is accomplished with an indexing process, <tt>mdworker</tt>, that runs in the background at all times organizing file metadata. While this feature has proven to be quite powerful, it&#8217;s also proved quite troublesome, as issues that would previously effect only Spotlight can now disable the ability to search the content of email messages and calendars as well.</p>
<p>When Spotlight attempts to scan a corrupt file, it can stall or crash, failing to properly index your disks and (as a result) disabling the search functionality in other Apple applications.  To figure out what Spotlight&#8217;s choking on, you&#8217;ll first need it to stop indexing entirely.  Make sure you&#8217;ve quit out of all your effected applications, then open the Terminal and type:</p>
<p><code><strong>sudo mdutil -i off /Volumes/*</strong></code></p>
<p>Once the Spotlight process is disabled, remove the old index files Spotlight built of your existing file system, replacing DISKNAME for the name of each mounted volume:</p>
<p><code><strong>sudo rm -r /Volumes/DISKNAME/.Spotlight-V100</strong></code></p>
<p>Next, open the Console application in the Utilities folder.  View &#8220;All Messages&#8221; in the left hand column, and use the &#8220;Filter&#8221; field in the top right to search for &#8220;<tt>mdworker</tt>&#8221; (the behind-the-scenes process that indexes data for Spotlight).  If the remaining errors end in file names, you&#8217;ve found a likely source for your Spotlight woes.  </p>
<p>Make sure these corrupt files are safe to move (and not within Application bundles or required by the OS), then relocate them to a removable drive or erase them entirely. With your suspect files out of the way, you can restart Spotlight indexing:</p>
<p><code><strong>sudo mdutil -E -i on /Volumes/*</strong></code></p>
<p>Once the indexing is complete, check the Console logs again to make sure the errors haven&#8217;t repeated.  You can now reopen your applications, and the ability to search messages and appointments should be restored.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/_4m8RFNoyTE" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/repair-spotlight-indexing.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/repair-spotlight-indexing.htm</feedburner:origLink></item>
		<item>
		<title>Network Users Can’t Login to 10.5.7</title>
		<link>http://feedproxy.google.com/~r/makemacwork/~3/9N-UPtguH_U/network-users-cant-login-to-1057.htm</link>
		<comments>http://www.makemacwork.com/network-users-cant-login-to-1057.htm#comments</comments>
		<pubDate>Mon, 01 Jun 2009 07:00:51 +0000</pubDate>
		<dc:creator>Ellis Jordan Bojar</dc:creator>
				<category><![CDATA[Managed Client]]></category>
		<category><![CDATA[Open Directory]]></category>
		<category><![CDATA[Troubleshooting]]></category>

		<guid isPermaLink="false">http://www.makemacwork.com/network-users-cant-login-to-1057.htm</guid>
		<description><![CDATA[In many ways, OS X 10.5.7 is a huge improvement for Leopard users, enhancing Finder network reliability, iCal server interaction, and portable home directory performance. In a managed Open Directory environment, however, it may also have the unfortunate side effect of locking you out of your legacy PowerPC machines.
At the root of the problem is [...]]]></description>
			<content:encoded><![CDATA[<p>In many ways, OS X 10.5.7 is a huge improvement for Leopard users, enhancing Finder network reliability, iCal server interaction, and portable home directory performance. In a managed Open Directory environment, however, it may also have the unfortunate side effect of locking you out of your legacy PowerPC machines.</p>
<p>At the root of the problem is the <tt>/etc/authorization</tt> file, which outlines unique situations where users are granted escalated privileges, and which should be altered as part of the 10.5.7 update process. It appears, however, that the file is updated only on Intel-based machines, leaving managed users on the PPC architecture unable to login on their workstations or laptops. </p>
<p>The solution is to copy the file to a PPC machine booted into target mode from an updated Intel installation, taking care that the ownership and permissions remain the same as on the Intel version. Alternately, if you have multiple PowerPC machines updated and booted, the same idea can be applied en masse by pushing an updated Intel file out via Apple Remote Desktop, JAMF Casper Suite, LANrev, or your preferred third-party distribution tool.</p>
<p>Once the corrected file is in place, reboot the afflicted machines, and login should be restored.</p>
<img src="http://feeds.feedburner.com/~r/makemacwork/~4/9N-UPtguH_U" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://www.makemacwork.com/network-users-cant-login-to-1057.htm/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.makemacwork.com/network-users-cant-login-to-1057.htm</feedburner:origLink></item>
	</channel>
</rss>
