You are previewing Solaris™ 8 Advanced System Administrator's Guide, Third Edition.
O'Reilly logo
Solaris™ 8 Advanced System Administrator's Guide, Third Edition

Book Description

The widely used reference for experienced system administrators of the Solaris Operating Environment—now fully updated for the Solaris 8 platform.

  • Focuses on the tasks experienced sysadmins find most challenging

  • Completely updated for the Solaris 8 Operating Environment!

  • Includes extensive new coverage of WebNFS technology

  • Ready to leverage the full power of Solaris 8 software? Now there's a hands-on reference specifically for you. In Solaris 8 Advanced System Administrator's Guide, Third Edition, award-winning author Janice Winsor delivers hundreds of indispensible tips, step-by-step procedures, and quick reference tables, all focused on the features experienced administrators find most challenging. Thoroughly updated, this book's coverage includes:

  • The Solaris platform mail services, including detailed procedures for planning and customizing sendmail

  • Understanding the NIS+ nameservice environment, and configuring both servers and clients

  • All-new coverage of WebNFS technology—concepts, configuration, and day-to-day management

  • Advanced security coverage—authentication, Role-Based Access Control (RBAC), and the Automated Security Enhancement Tool (ASET)

  • New Service Access Facility services for terminals, modems, and printers

  • Software management—installation, removal, patching, and more

  • Automounter services, volume management, shell programming, and much more

  • No matter how well you know Solaris, this book will make you far more effective—just as it has for thousands of Solaris sysadmins worldwide.

    Table of Contents

    1. Copyright
    2. Preface
    3. Acknowledgments
    4. Mail Services
      1. Understanding Mail Services
        1. New Mail Service Features
        2. Systems in a Mail Configuration
        3. Mail Service Programs
        4. DNS and sendmail
        5. Aliases
        6. Mail Addressing
        7. Mail Services Files and Programs
      2. Customizing sendmail Configuration Files
        1. How the sendmail Program Works
        2. Message-Header Editing
        3. Configuration File
        4. How sendmail Is Implemented
        5. Introducing the m4 Macro Processor
        6. Writing a Custom Macro Configuration File
        7. Generating the sendmail Configuration File
        8. Using the sendmail Restricted Shell
        9. Reference Tables
      3. Planning Mail Services
        1. Single DNS Domain with an Internet Connection
        2. Single DNS Domain with Internet Connection and Separate Gateway
        3. DNS Domain and a Subdomain with One Internet Connection
        4. DNS Domain with a UUCP Gateway
      4. Setting Up and Administering Mail Services
        1. Preparing to Set Up Mail Services
        2. Setting Up Mail Services
        3. Creating Mail Aliases
        4. Testing Your Mail Configuration
        5. Administering Your Mail Configuration
        6. Troubleshooting Your Mail Configuration
    5. NIS+
      1. Introducing the NIS+ Environment
        1. Comparison of NIS and NIS+
        2. The NIS+ Namespace
        3. NIS+ Security
        4. The NIS+ Updating Model
        5. NIS and NIS+ Compatibility
        6. The Nameservice Switch
        7. NIS+ Administration
      2. Setting Up NIS+ Servers and Clients
        1. Setting Up an NIS+ Namespace
        2. Introducing the NIS+ Installation Scripts
        3. Preparing for Setup and Configuration
        4. Setting Up an NIS+ Root Server
        5. Setting Up NIS+ Client Systems
        6. Verification of the Setup
    6. Automounter and WebNFS Services
      1. Understanding the Automounter
        1. NFS Terminology
        2. NIS+ Terminology
        3. Automount Terminology
        4. Automount Maps and Mount Points
        5. Components of the Automounter
        6. How the Automounter Works
        7. How to Plan for Automounting
      2. Setting Up the Automounter
        1. Setting Up Automount Server Systems
        2. Setting Up Automount Client Systems
        3. Displaying Information About NIS+ Automount Maps
        4. Setting Up NIS+ Automount Maps
        5. Troubleshooting Automounter Problems
        6. Automounter Error Messages
      3. Introducing WebNFS
        1. The WebNFS Service
        2. WebNFS Security Negotiation
        3. WebNFS Limitations with Web Browsers
        4. Planning for WebNFS Access
        5. WebNFS Access
    7. Service Access Facility
      1. Understanding the Service Access Facility
        1. Benefits of the SAF
        2. The SAF Daemons
        3. The SAF Commands
        4. SAF Architecture
        5. Reference to SAF Commands, Tasks, and Options
        6. Admintool: Serial Ports and SAF
        7. Templates
        8. Starting Admintool: Serial Ports
        9. Starting the SMC Serial Ports Tool
      2. Setting Up Modems and Character Terminals
        1. Tools for Setting Up Modems and Character Terminals
        2. Using Variables in SAF Commands
        3. Setting Up Modems
        4. Setting Up SAF for Character Terminals
      3. Setting Up Printing Services
        1. New Printing Features in the Solaris 8 Operating Environment
        2. Solaris Print Package Redesign
        3. Print Administration Tools in the Solaris Operating Environment
        4. System Requirements for a Print Server
        5. Printer Configuration Information
        6. Introducing Solaris Print Manager
        7. Adding a Network Printer
        8. Using Print Client Commands
        9. Solving Printing Problems
    8. Application Software
      1. Installing and Managing Application Software
        1. Overview of Installing and Managing Application Software
        2. User Access to Applications
        3. Installing and Configuring Packages
        4. Changes to the Default Package Version
        5. Developing Wrappers
        6. Using a Common Command Directory
        7. Setting User Configurations
        8. Understanding Distribution Issues
        9. Licensing
      2. Package Commands
        1. Reviewing Package Commands
        2. Package Formats
        3. Setting Up Package Administration Files
        4. Adding Packages
        5. Checking the Installation of a Package
        6. Displaying Package Parameters
        7. Listing Packages
        8. Removing Packages
        9. Using the Package System Log File
        10. Translating Package Formats
      3. Admintool: Software Manager
        1. Starting Admintool
        2. Installing Software
        3. Removing Software
      4. Solaris Product Registry
        1. Introducing the Product Registry Tool
        2. Installing Software with the Product Registry Tool
        3. Uninstalling Products with the Product Registry Tool
      5. Installing and Managing System Software Patches
        1. Patch Distribution
        2. Patch Numbering
        3. Installing a Patch
        4. Removing Patches
    9. Introducing Shell Programming
      1. Writing Shell Scripts
        1. Basic Concepts
        2. Variables
        3. File Name Stripping
        4. Built-in Shell Variables
        5. Built-in Commands
        6. Environment Variables
        7. Input and Output
        8. Testing for Conditions
        9. Controlling the Flow
        10. Exit Status
        11. Mathematical Operations
        12. User-Defined Functions
        13. Debugging Shell Scripts
      2. Reference Tables and Example Scripts
        1. Reference Tables
        2. Example Scripts
    10. System Security
      1. Understanding System Security
        1. New Security Features in the Solaris 8 Release
        2. New Security Features in the Solaris 2.6 Release
        3. Overview of System Security
        4. File Security
        5. Network Security
      2. Using the Automated Security Enhancement Tool (ASET)
        1. ASET Master Files
        2. ASET Security Levels
        3. How ASET Tasks Work
        4. ASET Execution Log
        5. ASET Reports
        6. ASET Master Files
        7. ASET Environment File (asetenv)
        8. Running ASET
        9. Restoring System Files Modified by ASET
        10. ASET Error Messages
      3. Using Authentication Services
        1. Example: Diffie-Hellman
        2. Example: Secure RPC
        3. DES Encryption
        4. Diffie-Hellman Authentication
        5. The Pluggable Authentication Module (PAM) Framework
      4. Role-Based Access Control
        1. What Is a Role?
        2. Administrative Rights
        3. Primary Administrator Capabilities
        4. Granting Rights to a User
        5. Creating a Role
        6. Regular User Rights
        7. Rights Hierarchies
        8. Real and Effective UIDs and GIDs
        9. The RBAC Databases
        10. Commands That Use Role-Based Access Control Authorizations
        11. Commands for Managing Role-Based Access Control
    11. Volume Management
      1. What's New with Volume Management
      2. Volume Management Files
      3. Volume Management Mount Points
      4. Removable Media Manager
      5. Local and Remote CD-ROMs
      6. Diskettes and Volume Management
      7. Accessing DVD-ROM Drives
      8. Troubleshooting
      9. Using Workman with Volume Management
      10. Disabling Volume Management
    12. Celeste's Tutorial on Solaris 2.x Modems and Terminals
      1. Introduction
      2. Celeste's Strategy for Configuring Modems and Terminals
      3. Tip and /etc/remote
      4. Basic Modem Programming
      5. Enabling Solaris for a Bidirectional Modem
      6. Enabling Solaris for a Dial-out-only Modem
      7. Setting Up a Terminal on Solaris 2.x
      8. Setting Serial Port Modes
      9. Configuring Serial Ports for UUCP
      10. File format: /etc/saf/{pmtag}/_pmtab and /etc/saf/_sactab
      11. Customizing the Login Message (Solaris 2.0–2.3)
      12. Customizing the Login Message (Solaris 2.4–higher)
      13. Solaris IA Issues
      14. Vendor List
    13. Glossary
    14. Bibliography
      1. General References
      2. Electronic Mail References
      3. SAF References
      4. NIS+ Reference
      5. Printing Reference
      6. Patch Reference
      7. Shell References
      8. Programming Languages
      9. System Security
    15. Index