Chapter 15. Using Mac OS X As a Server

Although most people think of Mac OS X as a client system only, you can also run Mac OS X as a server. If you need Apple’s advanced server administration tools, you can purchase Mac OS X Server (http://www.apple.com/server/macosx/), but if you’re comfortable with the command line, the client version can easily be configured to run as a server. The services that power the Sharing System Preferences pane are based on the same servers that provide the foundation for everything from private networks to the Internet:

  • OpenSSH for remote login

  • Samba for Windows file sharing

  • Apache for web publishing

However, the System Preferences are limited in what they will let you do. While the tools available to configure the Sharing preferences received a nice upgrade in Leopard, to unleash the full power of Mac OS X as a server, you’ll need to install your own administrative tools or edit the configuration files by hand. Once you’ve unleashed the server lurking inside your Mac, there are many services you can set up. Here are some of the possibilities:

Secure mail server

If your email provider isn’t reliable, or doesn’t support the way you want to access your email, you can forward all your email to your personal server and retrieve it from there—whether you’re in your home office or on the road.

SSH server

When you’re on the road, there might be some things you want to access back at the home office. Or perhaps you want to help a family member troubleshoot a computer ...

Get Mac OS X For Unix Geeks, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.