Home > Store

UNIX System Administration Handbook, 3rd Edition

Register your product to gain access to bonus material or receive a coupon.

UNIX System Administration Handbook, 3rd Edition


  • Sorry, this book is no longer in print.
Not for Sale



  • NEW - Updated information throughout.
    • Provides students with a depth and breadth of material not found in other texts.

  • NEW - Expanded coverage of Linux.
    • Learn to administer Redhat Linux, the most widely used version of this open source operating system.

  • NEW - Revised material on TCP/IP and DNS configuration.
    • Provides a “crash course” on routing.

  • Detailed coverage of server maintenance.
    • Demonstrates how to configure the kernel on HP-UX, Solaris, Redhat Linux and Berkeley Unix as well as how to configure and manage send-email.


  • Copyright 2001
  • Edition: 3rd
  • Book
  • ISBN-10: 0-13-020601-6
  • ISBN-13: 978-0-13-020601-5

Now covers Red Hat Linux!

Written by Evi Nemeth, Garth Snyder, Scott Seebass, and Trent R. Hein with Adam Boggs, Rob Braun, Ned McClain, Dan Crawl, Lynda McGinley, and Todd Miller

"This is not a nice, neat book for a nice, clean world. It's a nasty book for a nasty world. This is a book for the rest of us."
–Eric Allman and Marshall Kirk McKusick
"I am pleased to welcome Linux to the UNIX System Administration Handbook!"
–Linus Torvalds, Transmeta
"This book is most welcome!"
–Dennis Ritchie, AT&T Bell Laboratories

This new edition of the world's most comprehensive guide to UNIX system administration is an ideal tutorial for those new to administration and an invaluable reference for experienced professionals. The third edition has been expanded to include "direct from the frontlines" coverage of Red Hat Linux. UNIX System Administration Handbook describes every aspect of system administration–from basic topics to UNIX esoterica–and provides explicit coverage of four popular UNIX systems:

This book stresses a practical approach to system administration. It's packed with war stories and pragmatic advice, not just theory and watered-down restatements of the manuals. Difficult subjects such as sendmail, kernel building, and DNS configuration are tackled head-on. Examples are provided for all four versions of UNIX and are drawn from real-life systems–warts and all.

"This book is where I turn first when I have system administration questions. It is truly a wonderful resource and always within reach of my terminal."
–W. Richard Stevens, author of numerous books on UNIX and TCP/IP
"This is a comprehensive guide to the care and feeding of UNIX systems. The authors present the facts along with seasoned advice and numerous real-world examples. Their perspective on the variations among systems is valuable for anyone who runs a heterogeneous computing facility."
–Pat Parseghian, Transmeta
"We noticed your book on the staff recommendations shelf at our local bookstore: 'Very clear, a masterful interpretation of the subject.' We were most impressed, until we noticed that the same staff member had also recommended Aunt Bea's Mayberry Cookbook."
–Shannon Bloomstran, history teacher

Sample Content

Table of Contents

1. Where to Start.

Suggested Background. The Sordid History of UNIX. Example UNIX Systems. Notation and Typographical Conventions. System-Specific Information. How to Use Your Manuals. Organization of the Man Pages. Man: Read Manual Pages. Essential Tasks of the System Administrator. Adding and Removing Users. Adding and Removing Hardware. Performing Backups. Installing New Software. Monitoring the System. Troubleshooting. Maintaining Local Documentation. Auditing Security. Helping Users. How to Find Files on the Internet. System Administration Under Duress. System Administration Personality Syndrome. Recommended Reading.

2. Booting and Shutting Down.

Bootstrapping. Automatic and Manual Booting. Steps in the Boot Process. Kernel Initialization. Hardware Configuration. System Processes. Operator Intervention (Manual Boot Only). Execution of Startup Scripts. Multiuser Operation. Booting Pcs. How a PC Is Different from Proprietary Hardware. The PC Boot Process. LILO: The Linux Boot Loader. Configuring LILO. The Freebsd Boot Loader. Multibooting on Pcs. Multibooting Gotchas. LILO Multiboot Configuration. Freebsd Multiboot Configuration. Booting in Single-User Mode. Solaris Single-User Mode. HP-UX Single-User Mode. Linux Single-User Mode. Freebsd Single-User Mode. Startup Scripts. Systemv-Style Startup Scripts. Solaris Startup Scripts. HP-UX Startup Scripts. Red Hat Startup Scripts. Freebsd Startup Scripts. Rebooting and Shutting down. Turning Off the Power. Shutdown: The Genteel Way to Halt the System. Halt: A Simpler Way to Shut Down. Reboot: Quick and Dirty Restart. Sending Init a TERM Signal. Telinit: Change Init's Run Level. Killing Init.

3. Rootly Powers.

Ownership of Files and Processes. The Superuser. Choosing a Root Password. Becoming Root. Su: Substitute User Identity. Sudo: A Limited Su. Other Pseudo-Users. Daemon: Owner of Unprivileged System Software. Bin: Owner of System Commands. Sys: Owner of the Kernel and Memory Images. Nobody: The Generic NFS User.

4. Controlling Processes.

Components of a Process. PID: Process ID Number. PPID: Parent PID. UID and EUID: Real and Effective User ID. GID and EGID: Real and Effective Group ID. Niceness. Control Terminal. The Life Cycle of a Process. Signals. Kill: Send Signals. Process States. Nice and Renice: Influence Scheduling Priority. Ps: Monitor Processes. Top: Monitor Processes Even Better. Runaway Processes.

5. The Filesystem.

Pathnames. Mounting and Unmounting Filesystems. The Organization of the File Tree. File Types. Regular Files. Directories. Character and Block Device Files. UNIX Domain Sockets. Named Pipes. Symbolic Links. File Attributes. The Setuid and Setgid Bits. The Sticky Bit. The Permission Bits. Viewing File Attributes. Freebsd Bonus Flags. Chmod: Change Permissions. Chown and Chgrp: Change Ownerships. Umask: Assign Default Permissions.

6. Adding New Users.

The /Etc/Passwd File. Login Name. Encrypted Password. UID Number. Default GID Number. GECOS Field. Home Directory. Login Shell. The Freebsd /Etc/Master.Passwd File. The Freebsd /Etc/Login.Conf File. The Solaris and Red Hat /Etc/Shadow File. The /Etc/Group File. Adding Users. Editing the Passwd and Shadow Files. Setting an Initial Password. Creating the User's Home Directory. Copying in the Default Startup Files. Setting the User's Mail Home. Editing the /Etc/Group File. Setting Disk Quotas. Verifying the New Login. Removing Users. Disabling Logins. Vendor-Supplied Account Management Utilities.

7. Serial Devices.

Serial Standards. Alternative Connectors. The Mini DIN-8 Variant. The DB-9 Variant. The RJ-45 Variant. The Yost Standard for RJ-45 Wiring. Hard and Soft Carrier. Hardware Flow Control. Cable Length. Serial Device Files. Software Configuration for Serial Devices. Configuration of Hardwired Terminals. The Login Process. The /Etc/Ttys and /Etc/Ttytab Files. The /Etc/Ttytype File. The /Etc/Gettytab File. The /Etc/Inittab File. The /Etc/Gettydefs File. Solaris and Sacadm. Terminal Support: The Termcap and Terminfo Databases. Special Characters and the Terminal Driver. Stty: Set Terminal Options. Tset: Set Options Automatically. How to Unwedge a Terminal. Modems. Modulation, Error Correction, and Data Compression Protocols. Dial-Out Configuration: /Etc/Phones and /Etc/Remote. Bidirectional Modems. Debugging a Serial Line. Other Common I/O Ports. Parallel Ports. USB: The Universal Serial Bus.

8. Adding a Disk.

Disk Interfaces. The SCSI Interface. The IDE Interface. Which Is Better, SCSI or IDE? Disk Geometry. An Overview of the Disk Installation Procedure. Connecting the Disk. Creating Device Entries. Formatting the Disk. Labeling and Partitioning the Disk. Establishing Logical Volumes. Creating UNIX Filesystems. Setting Up Automatic Mounting. Enabling Swapping. Fsck: Check and Repair Filesystems. Vendor Specifics. Adding a Disk to Solaris. Adding a Disk to HP-UX. Adding a Disk to Red Hat Linux. Adding a Disk to Freebsd.

9. Periodic Processes.

Cron: Schedule Commands. The Format of Crontab Files. Crontab Management. Some Common Uses for Cron. Cleaning the Filesystem. Network Distribution of Configuration Files. Rotating Log Files. Vendor Specifics.

10. Backups.

Motherhood and Apple Pie. Perform All Dumps from One Machine. Label Your Tapes. Pick a Reasonable Backup Interval. Choose Filesystems Carefully. Make Daily Dumps Fit on One Tape. Make Filesystems Smaller Than Your Dump Device. Keep Tapes Off-Site. Protect Your Backups. Limit Activity during Dumps. Check Your Tapes. Develop a Tape Life Cycle. Design Your Data for Backups. Prepare for the Worst. Backup Devices and Media. Floppy Disks. Super Floppies. CD-R and CD-RW. Removable Hard Disks. 8mm Cartridge Tapes. DAT (4mm) Cartridge Tapes. Travan Tapes. Onstream ADR. DLT. AIT. Mammoth. Jukeboxes, Stackers, and Tape Libraries. Hard Disks. Summary of Media Types. What to Buy. Setting Up an Incremental Backup Regime. Dumping Filesystems. Dump Sequences. Restoring from Dumps. Restoring Individual Files. Restoring Entire Filesystems. Dumping and Restoring for Upgrades. Using Other Archiving Programs. Tar: Package Files. Cpio: Sysv-Ish Archiving. Dd: Twiddle Bits. Volcopy: Duplicate Filesystems. Using Multiple Files on a Single Tape. Amanda. The Architecture of Amanda. Amanda Setup. The Amanda.Conf File. The Disklist File. Amanda Log Files. Amanda Debugging. File Restoration from an Amanda Backup. Alternatives to Amanda: Other Open Source Backup Packages. Commercial Backup Products. ADSM/TSM. Veritas. Legato. Other Alternatives. Recommended Reading.

11. Syslog and Log Files.

Logging Policies. Throwing Away Log Files. Rotating Log Files. Archiving Log Files. Finding Log Files. Files NOT to Manage. Vendor Specifics. Syslog: The System Event Logger. Configuring Syslogd. Red Hat Enhancements to Syslog. Freebsd Enhancements to Syslog. Config File Examples. Sample Syslog Output. Designing a Logging Scheme for Your Site. Software That Uses Syslog. Debugging Syslog. Using Syslog from Programs. Condensing Log Files to Useful Information.

12. Drivers and the Kernel.

Kernel Types. Why Configure the Kernel? Configuring a Solaris Kernel. The Solaris Kernel Area. Configuring the Kernel with /Etc/System. An Example /Etc/System File. Debugging a Solaris Configuration. Building an HP-UX Kernel. Configuring a Linux Kernel. Building the Linux Kernel Binary. Tuning Your Linux Configuration. Building a Freebsd Kernel. The Master Recipe for Building a Kernel. Audit the System's Hardware. Create a Configuration File in SYS/I386/Conf. Run Config. Run Make Depend. Build the Kernel. Install the New Kernel. Test the New Kernel. Document the New Kernel. Creating a BSD Configuration File. The Maxusers Keyword. The Options Keyword. The Config Keyword. Hardware Devices. The Pseudo-Device Keyword. A Sample Freebsd Configuration File. Tuning the Freebsd Kernel. Adding Device Drivers. Device Numbers. Adding a Solaris Device Driver. Adding a Linux Device Driver. Adding a Freebsd Device Driver. Device Files. Naming Conventions for Devices. Loadable Kernel Modules. Loadable Kernel Modules in Solaris. Loadable Kernel Modules in Linux. Loadable Kernel Modules in Freebsd. Recommended Reading.

13. TCP/IP Networking.

TCP/IP and the Internet. A Brief History Lesson. How the Internet Is Managed Today. Network Standards and Documentation. Networking Road Map. Packets and Encapsulation. The Link Layer. Packet Addressing. Ports. Address Types. IP Addresses: The Gory Details. IP Address Classes. Subnetting and Netmasks. The IP Address Crisis. CIDR: Classless Inter-Domain Routing. Address Allocation. Private Addresses and NAT. Ipv6 Addressing. Routing. Routing Tables. ICMP Redirects. ARP: The Address Resolution Protocol. DHCP: The Dynamic Host Configuration Protocol. DHCP Software. How DHCP Works. ISC's DHCP Server. PPP: The Point-to-Point Protocol. Addressing PPP Performance Issues. Connecting to a Network with PPP. Making Your Host Speak PPP. Controlling PPP Links. Finding a Host to Talk to. Assigning an Address. Routing. Ensuring Security. Using Terminal Servers. Using Chat Scripts. Security Issues. IP Forwarding. ICMP Redirects. Source Routing. Broadcast Pings and Other Forms of Directed Broadcast. UNIX-Based Firewalls. Virtual Private Networks. IPSEC: Secure IP. Addition of Machines to a Network. Assigning Hostnames and IP Addresses. Ifconfig: Configure Network Interfaces. Route: Configure Static Routes. Default Routes. Configuring DNS. Vendor-Specific Network Configuration. Solaris Network Configuration. Basic Network Configuration for Solaris. Configuration Examples for Solaris. DHCP Configuration for Solaris. Dynamic Reconfiguration and Tuning for Solaris. Security, Firewalls, Filtering, and NAT for Solaris. PPP Configuration for Solaris. Networking Quirks for Solaris. HP-UX Network Configuration. Basic Network Configuration for HP-UX. Configuration Examples for HP-UX. DHCP Configuration for HP-UX. Dynamic Reconfiguration and Tuning for HP-UX. Security, Firewalls, Filtering, and NAT for HP-UX. PPP Configuration for HP-UX. Networking Quirks for HP-UX. Network Configuration for Red Hat. Basic Network Configuration for Red Hat. Configuration Examples for Red Hat. DHCP Configuration for Red Hat. Dynamic Reconfiguration and Tuning for Red Hat. Security, Firewalls, Filters, and NAT for Red Hat. PPP Configuration for Red Hat. Networking Quirks for Red Hat. Network Configuration for Freebsd. Basic Network Configuration for Freebsd. Configuration Examples for Freebsd. DHCP Configuration for Freebsd. Dynamic Reconfiguration and Tuning for Freebsd. Security, Firewalls, Filters, and NAT for Freebsd. PPP Configuration for Freebsd. Networking Quirks for Freebsd. Recommended Reading.

14. Routing.

Packet Forwarding: A Closer Look. Routing Daemons and Routing Protocols. Distance-Vector Protocols. Link-State Protocols. Cost Metrics. Interior and Exterior Protocols. Protocols on Parade. RIP: Routing Information Protocol. RIP-2: Routing Information Protocol, Version 2. OSPF: Open Shortest Path First. IGRP and EIGRP: Interior Gateway Routing Protocol. IS-IS: The ISO “Standard.” MOSPF, DVMRP, and PIM: Multicast Routing Protocols. Router Discovery Protocol. Routed: RIP Yourself a New Hole. Gated: A Better Routing Daemon. Gated Startup and Control. Tracing. The Gated Configuration File. Option Configuration Statements. Network Interface Definitions. Other Miscellaneous Definitions. Protocol Configuration for RIP. Some Preliminary Background on OSPF. Protocol Configuration for OSPF. Protocol Configuration for ICMP Redirects. Static Routes. Exported Routes. A Complete Gated Configuration Example. Vendor Specifics. Routing Strategy Selection Criteria. Cisco Routers. Recommended Reading.

15. Network Hardware.

LAN, WAN, or MAN? Ethernet: The Common LAN. How Ethernet Works. Ethernet Topology. Unshielded Twisted Pair. Connecting and Expanding Ethernets. FDDI: The Disappointing and Expensive LAN. ATM: The Promised (but Sorely Defeated) LAN. Frame Relay: The Sacrificial WAN. ISDN: The Indigenous WAN. DSL: The People's WAN. Where Is the Network Going? Network Testing and Debugging. Building Wiring. UTP Cabling Options. Connections to Offices. Wiring Standards. Network Design Issues. Network Architecture Vs Building Architecture. Existing Networks. Expansion. Congestion. Maintenance and Documentation. Management Issues. Recommended Vendors. Cables and Connectors. Test Equipment. Routers/Switches. Recommended Reading.

16. The Domain Name System.

DNS for the Impatient: Adding a New Machine. The History of DNS. Who Needs DNS? What's New in DNS. The DNS Namespace. Masters of Their Domains. Selecting a Domain Name. Domain Bloat. Registering a Second-Level Domain Name. Creating Your Own Subdomains. The BIND Software. Versions of BIND. Finding out What Version You Have. Components of BIND. Named: The BIND Name Server. Authoritative and Caching-Only Servers. Recursive and Nonrecursive Servers. The Resolver Library. Shell Interfaces to DNS. How DNS Works. Delegation. Caching and Efficiency. The Extended DNS Protocol. BIND Client Issues. Resolver Configuration. Resolver Testing. Impact on the Rest of the System. BIND Server Configuration. Hardware Requirements. Named Startup. Configuration Files. The Include Statement. The Options Statement. The Acl Statement. The Server Statement. The Logging Statement. The Zone Statement. The Key Statement. The Trusted-Keys Statement. The Controls Statement. The View Statement. BIND Configuration Examples. A Home Linux Box. A University Department. A Web Hosting Company. The DNS Database. Resource Records. The SOA Record. NS Records. A Records. PTR Records. MX Records. CNAME Records. The CNAME Hack. LOC Records. SRV Records. TXT Records. Ipv6 Resource Records. A6 Records. DNAME Records. Commands in Zone Files. The Localhost Zone. Glue Records: Links between Zones. Updating Zone Files. Zone Transfers. Dynamic Updates. Security Issues. Access Control Lists Revisited. Confining Named. Secure Server-to-Server Communication with TSIG and TKEY. DNSSEC. Microsoft Bad, UNIX Good. Testing and Debugging. Logging. Debug Levels. Debugging with Ndc. Debugging with Nslookup, Dig, and Host. Lame Delegations. Loose Ends. The Hints File. Localhost Configuration. Host Management Tools. DNS for Systems Not on the Internet. Vendor Specifics. Specifics for Solaris. Specifics for HP-UX. Specifics for Red Hat Linux. Specifics for Freebsd. Recommended Reading. Mailing Lists and Newsgroups. Books and Other Documentation. Online Resources. The Rfcs.

17. The Network File System.

General Information about NFS. NFS Protocol Versions. Choice of Transport. Webnfs. File Locking. Disk Quotas. Global Uids and Gids. Root Access and the Nobody Account. Cookies and Stateless Mounting. Naming Conventions for Shared Filesystems. Security and NFS. Server-Side NFS. The Share Command and Dfstab File (Solaris). The Exportfs Command and the Exports File (HP-UX, Red Hat, Freebsd). Nfsd: Serve Files. Client-Side NFS. Biod and Nfsiod: Provide Client-Side Caching. Mounting Remote Filesystems. Secure Port Restrictions. Nfsstat: Dump NFS Statistics. Dedicated NFS File Servers. Automatic Mounting. Automount: The Original Automounter. Indirect Maps. Direct Maps. Master Maps. Executable Maps. Replicated Filesystems Using Automount. Automatic Automounts. Specifics for Red Hat Linux. Amd: A More Sophisticated Automounter. Amd Maps. Starting Amd. Stopping Amd. Recommended Reading.

18. Sharing System Files.

What to Share. Copying Files around. Rdist: Push Files. Rsync: Push Files More Securely. Expect: Pull Files. NIS: The Network Information Service. Netgroups. Prioritizing Sources of Administrative Information. Advantages and Disadvantages of NIS. How NIS Works. Setting Up an NIS Domain. Vendor Specifics. NIS+: Son of NIS. LDAP: The Lightweight Directory Access Protocol. LDAP Documentation and Specifications. Hands-on LDAP.

19. Electronic Mail.

Mail Systems. User Agents. Transport Agents. Delivery Agents. Message Stores. Access Agents. Mail Submission Agents. The Anatomy of a Mail Message. Mail Addressing. Reading Mail Headers. Mail Philosophy. Using Mail Servers. Using Mail Homes. Using IMAP or POP. Mail Aliases. Getting Mailing Lists from Files. Mailing to Files. Mailing to Programs. Examples of Aliases. Mail Forwarding. The Hashed Alias Database. Mailing Lists and List Wrangling Software. LDAP: The Lightweight Directory Access Protocol. Sendmail: Ringmaster of the Electronic Mail Circus. The History of Sendmail. Vendor-Supplied Versions of Sendmail. Sendmail Installation. The Switch File. Modes of Operation. The Mail Queue. Sendmail Configuration. Using the M4 Preprocessor. The Sendmail Configuration Pieces. Building a Configuration File from a Sample .Mc File. Basic Sendmail Configuration Primitives. The VERSIONID Macro. The OSTYPE Macro. The DOMAIN Macro. The MAILER Macro. Fancier Sendmail Configuration Primitives. The FEATURE Macro. The Use_Cw_File Feature. The Redirect Feature. The Always_Add_Domain Feature. The Nocanonify Feature. Tables and Databases. The Mailertable Feature. The Genericstable Feature. The Virtusertable Feature. The Ldap_Routing Feature. Masquerading and the MASQUERADE_AS Macro. The MAIL_HUB and SMART_HOST Macros. Masquerading and Routing. The Nullclient Feature. The Local_Lmtp and Smrsh Features. The Local_Procmail Feature. The LOCAL_* Macros. Configuration Options. Configuration File Examples. A Computer Science Student's Home Machine. A Small but Sendmail-Clueful Company. Another Master/Client Example. Spam-Related Features in Sendmail. Relaying. The Access Database. Blacklisting Users or Sites. Header Checking. Handling Spam. Spam Examples. Security and Sendmail. Ownerships. Permissions. Safe Mail to Files and Programs. Privacy Options. Running a Chrooted Sendmail (for the Truly Paranoid). Denial of Service Attacks. Forgeries. Message Privacy. SASL: The Simple Authentication and Security Layer. Sendmail Statistics, Testing, and Debugging. Testing and Debugging. Verbose Delivery. Talking in SMTP. Logging. The Postfix Mail System. Postfix Architecture. Configuring Postfix. Spam Control. Postfix Examples. Recommended Reading.

20. Network Management and Debugging.

Troubleshooting a Network. Ping: Check to See If a Host Is Alive. Traceroute: Trace IP Packets. Netstat: Get Tons O' Network Statistics. Monitoring the Status of Network Connections. Inspecting Interface Configuration Information. Examining the Routing Table. Viewing Operational Statistics for Various Network Protocols. Packet Sniffers. Snoop: Solaris's Packet Sniffer. Nettl: HP-UX's Packet Sniffer. Tcpdump: King of Sniffers. Network Management Protocols. SNMP: The Simple Network Management Protocol. SNMP Organization. SNMP Protocol Operations. RMON: Remote Monitoring MIB. SNMP Agents. SNMP on Solaris. SNMP on HP-UX. The UCD SNMP Agent. Network Management Applications. The UCD SNMP Tools. MRTG: The Multi-Router Traffic Grapher. NOCOL: Network Operation Center Online. Commercial Management Platforms. Recommended Reading.

21. Security.

Seven Common-Sense Rules of Security. How Security Is Compromised. Security Problems in the /Etc/Passwd File. Password Checking and Selection. Shadow Passwords. Group Logins and Shared Logins. Password Aging. User Shells. Rootly Entries. Setuid Programs. Important File Permissions. Miscellaneous Security Issues. Remote Event Logging. Secure Terminals. /Etc/Hosts.Equiv and ~/.Rhosts. Rexd, Rexecd, and Tftpd. Fingerd. Security and NIS. Security and NFS. Security and Sendmail. Security and Backups. Trojan Horses. Security Power Tools. Nmap: Scan Network Ports. SAINT: Check Networked Systems for Vulnerabilities. Nessus: Next Generation Network Scanner. Crack: Find Insecure Passwords. Tcpd: Protect Internet Services. COPS: Audit System Security. Tripwire: Monitor Changes to System Files. Forensic Tools. Cryptographic Security Tools. Kerberos: A Unified Approach to Network Security. PGP: Pretty Good Privacy. SSH: The Secure Shell. SRP: Secure Remote Password. OPIE: One-Time Passwords in Everything. Firewalls. Packet-Filtering Firewalls. How Services Are Filtered. Service Proxy Firewalls. Stateful Inspection Firewalls. Firewalls: How Safe Are They? Sources of Security Information. CERT: A Registered Service Mark of Carnegie Mellon University. Securityfocus.Com and the Bugtraq Mailing List 678 SANS: The System Administration, Networking, and Security Institute. Vendor-Specific Security Resources. Other Mailing Lists and Web Sites. What to Do When Your Site Has Been Attacked. Recommended Reading.

22. Web Hosting and Internet Servers.

Web Hosting. Web Hosting Basics. Uniform Resource Locators. How HTTP Works. CGI Scripting: Generating Content on the Fly. Load Balancing. HTTP Server Installation. Choosing a Server. Compiling and Installing Apache. Configuring Apache. Running Apache. Virtual Interfaces. Configuring Virtual Interfaces. Telling Apache about a Virtual Interface. Caching and Proxy Servers. Setting Up Squid. Anonymous FTP Server Setup. Usenet News. Usenet News Feeds. Usenet Software. Whither Usenet News?

23. Printing.

Mini-Glossary of Printing Terms. Types of Printers. Serial and Parallel Printers. Network Printers. Life without Postscript. BSD Printing. An Overview of the Printing Process. Controlling the Printing Environment. Lpd: The BSD Print Spooler. Lpr: Submit Print Jobs. Lpq: View the Printing Queue. Lprm: Remove Print Jobs. Lpc: Make Administrative Changes. The /Etc/Printcap File. Printcap Variables. Printcap Variables for Serial Devices. Printcap Extensions. Printing to Something Besides a Printer. System V Printing. Overview. Destinations and Classes. A Brief Description of Lp. Lpsched and Lpshut: Start and Stop Printing. Lpadmin: Configure the Printing Environment. Lpstat: Get Status Information. Cancel: Remove Print Jobs. Accept and Reject: Control Spooling. Enable and Disable: Control Printing. Lpmove: Transfer Jobs. Interface Programs. What to Do When the Lp System Is Completely Hosed. Adding a Printer. Adding Printers to Solaris. Adding Printers to HP-UX. Adding Printers to Red Hat Linux. Adding Printers to Freebsd. Lprng. The Lprng Commands. Obtaining and Installing Lprng. /Etc/Lpd.Conf: Configure Lpd. /Etc/Lpd.Perms: Configure Access Control. Setting Up the Printcap File. Filters. Accounting. Debugging Printing Problems. Common Printing Software. Rlpr. Ghostscript. Mpage. Enscript. Printer Philosophy. Use Printer Accounting. Use Banner Pages Only When Necessary. Provide Recycling Bins. Provide Previewers. Buy Cheap Printers. Keep Extra Toner Cartridges on Hand. Secure Your Printer.

24. Maintenance and Environment.

Maintenance Basics. Maintenance Contracts. On-Site Maintenance. Board Swap Maintenance. Warranties. Board-Handling Lore. Static Electricity. Reseating Boards. Monitors. Memory Modules. Preventive Maintenance. Environment. Temperature. Humidity. Office Cooling. Machine Room Cooling. Temperature Monitoring. Power. Remote Power Control. Racks. Tools.

25. Performance Analysis.

What You Can Do to Improve Performance. Factors That Affect Performance. System Performance Checkup. Analyzing CPU Usage. How UNIX Manages Memory. Analyzing Memory Usage. Analyzing Disk I/O. Virtual Adrian. Procinfo: Display Red Hat Performance Data. Pstat: Print Random Freebsd Statistics. Help! My System Just Got Really Slow! Recommended Reading.

26. Cooperating with Windows.

File and Print Sharing. NFS: The Network File System. CIFS: The Common Internet File System. Samba: CIFS for UNIX. Installing and Configuring Samba. Debugging Samba. Secure Terminal Emulation with SSH. X Windows Emulators. PC Mail Clients. PC Backups. Dual Booting. Running Windows Applications Under UNIX. PC Hardware Tips.

27. Policy and Politics.

Policy and Procedure. Security Policies. User Policy Agreements. Sysadmin Policy Agreements. Policy and Procedures for Emergency Situations. Disaster Planning. Miscellaneous Tidbits. Legal Issues. Liability. Encryption. Copyright. Privacy. Policy Enforcement. Software Licenses. Spam: Unsolicited Commercial Email. Sysadmin Surveys. SAGE Salary Survey. SANS Salary Survey. Scope of Service. Trouble-Reporting Systems. Managing Management. Hiring, Firing, and Training. Attitude Adjustment. Operator Wars. Iterative Refinement. War Stories and Ethics. Boss's Mistake #1. Boss's Mistake #2. Dan, Your New Name Is Lester. Which Ones to Fire. Horndog Joe. Wedding Invitations. Pornographic GIF Images. Migrating Data. Bill Must Die! Localization and Upgrades. Managing Software across Systems. Upgrades. Useful Third-Party Software. Local Documentation. Procurement. Decommissioning Hardware. Software Patents. Organizations, Conferences, and Other Resources. SAGE: The System Administrators' Guild. Mailing Lists and Web Resources. Printed Resources. Standards. Sample Documents. Recommended Reading.

28. Daemons.

Init: The Primordial Process. Cron: Schedule Commands. Inetd: Manage Daemons. Configuring Inetd. The Services File. Restarting Inetd. Securing Inetd. Portmap/Rpcbind: Map RPC Services to TCP and UDP Ports. System Daemons. The Paging Daemon. The Swapping Daemon. The Filesystem Synchronization Daemon. Printing Daemons. Lpd: Manage BSD-Style Printing. Lpsched: Manage ATT Printing. Rlpdaemon: Print from BSD to HP-UX. NFS Daemons. Nfsd: Serve Files. Mountd: Respond to Mount Requests. Amd and Automount: Mount Filesystems on Demand. Lockd and Statd: Manage NFS Locks. Biod: Cache NFS Blocks. NIS Daemons. Ypbind: Locate NIS Servers. Ypserv: NIS Server. Ypxfrd: Transfer NIS Databases. Rpc.Nisd: NIS+ Server. Internet Daemons. Talkd: Network Chat Service. Comsat: Notify Users of New Mail. Sendmail: Transport Electronic Mail. Snmpd: Provide Remote Network Management Service. Rwhod: Maintain Remote User List. Ftpd: File Transfer Server. Popper: Basic Mailbox Server. Imapd: Deluxe Mailbox Server. Rlogind: Remote Login Server. Telnetd: Yet Another Remote Login Server. Sshd: Secure Remote Login Server. Rshd: Remote Command Execution Server. Rexecd: Yet Another Command Execution Server. Rpc.Rexd: Yet a Third Command Execution Server. Routed: Maintain Routing Tables. Gated: Maintain Complicated Routing Tables. Named: DNS Server. Syslogd: Process Log Messages. Fingerd: Look Up Users. Httpd: World Wide Web Server. Time Synchronization Daemons. Timed: Synchronize Clocks. Xntpd: Synchronize Clocks Even Better. Booting and Configuration Daemons. Bootpd: Boot Server. Tftpd: Trivial File Transfer Server. Rarpd: Map Ethernet Addresses to IP Addresses. Bootparamd: Advanced Diskless Life Support. Dhcpd: Dynamic Address Assignment. Colophon.



Submit Errata

More Information

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020