| |
Preface | xvii |
Part 1--User Accounts |
1. Setting Up User Accounts |
| ...and Groups | 1 |
| ...About Setting Up User Accounts and Groups | 2 |
| ......Using Administration Tool | 2 |
| ...Policies for User Accounts and Groups | 4 |
| ......Set a Standard for User Names and User IDs | 4 |
| ......Passwords | 6 |
| ......Setting Up Groups | 7 |
| ......Home Directory | 9 |
| ......Initialization Files | 11 |
| ...Password, Shadow, and Group File Information Summary | 14 |
| ......Fields in the Password File | 14 |
| ......Fields in the Shadow File | 15 |
| ......Fields in the Group File | 16 |
| |
| ......Adding Users to a System and a Network | 17 |
| ...Instructions for Setting Up User Accounts and Groups | 18 |
| ......Setting Up Initialization (Skeleton) Files | 19 |
| ......· How to Set Up the System Initialization File | 19 |
| ......· How to Set Up the User Initialization File | 20 |
| ......Adding a Group | 21 |
| ......· How to Add a Group | 22 |
| ......Adding a User Account | 23 |
| ......· How to Add a User Account | 23 |
| ......Mounting a User's Home Directory | 28 |
| ......· How to Automount the Home Directory | 29 |
| ......· How to Manually Mount the Home Directory | 29 |
| ......Customizing a User's Environment | 30 |
| ......· How to Customize a User's Environment | 30 |
| ...User Account Reference Information | 35 |
| ......Collect and Record User Information | 35 |
| ......Shell Features | 36 |
| ......Environment Variables and Shell Variables | 37 |
| ......Default File Permissions (umask) | 41 |
| ......Message of the Day | 41 |
2. Administering User Accounts |
| ...and Groups | 43 |
| ...About Administering User Accounts and Groups | 44 |
| ......Using Administration Tool | 44 |
| |
| ......Administering User Accounts | 45 |
| ......Creating and Modifying Passwords | 47 |
| ......Administering Groups | 48 |
| ...Instructions for Administering User Accounts and Groups | 49 |
| ......Changing a User's Home Directory | 49 |
| ......· How to Create the New Home Directory | 50 |
| ......· How to Move the Contents of the Home Directory | 52 |
| ......Copying Initialization Files into a User's Home Directory | 53 |
| ......Modifying a User Account | 54 |
| ......· How to Modify a User Account | 55 |
| ......Deleting a User Account | 57 |
| ......· How to Delete a User Account | 57 |
| ......· How to Disable a User Account | 58 |
| ...... Modifying or Deleting Groups | 58 |
| ......· How to Modify a Group | 59 |
| ......· How to Delete a Group | 60 |
| ......· How to Create or Change a Password | 60 |
Part 2--Printing |
3. Setting Up Printers | 67 |
| ...About Setting Up Printing Services | 68 |
| ......Types of Print Clients and Print Servers | 70 |
| ......Using Printer Manager | 71 |
| ......Network Prerequisites for Setting Up Printing | 73 |
| ......Local Printer Setup | 74 |
| |
| ......Print Server Setup | 74 |
| ......Print Client Setup | 74 |
| ......Print Server Configurations | 75 |
| ......System Requirements for a Print Server | 76 |
| ......Printer Configuration Information | 79 |
| ......Printer Entries in the terminfo Database | 84 |
| ...Instructions for Setting Up Printing Using Printer Manager | 86 |
| ......Adding a Printer | 87 |
| ......· How to Add a Printer | 87 |
| ......Setting Up a Client | 91 |
| ......· How to Set Up a Client | 91 |
| ......Modifying or Deleting Printer Information | 93 |
| ......· How to Modify Printer Information | 93 |
| ......· How to Delete a Printer | 94 |
| ......Viewing Available Printers | 94 |
| ......· How to View Available Printers | 95 |
| ...Reference Information for Setting Up Printing Services | 95 |
| ......Frequently Used Printers | 95 |
4. Routine Printer Administration | 99 |
| ...About Routine Printer Administration | 100 |
| ......Checking the Status of Printers and Print Requests | 101 |
| ......Managing Print Requests | 101 |
| ......Making Printers Available | 103 |
| ......Removing a Printer | 104 |
| |
| ......Starting and Stopping the LP Print Service Scheduler | 104 |
| ......Cleaning Out Log Files | 105 |
| ...Instructions for Performing Routine Printer Administration | 105 |
| ......· How to Check the Status of Printers and Print Requests | 105 |
| ......· How to Cancel Print Requests | 111 |
| ......· How to Accept or Reject Print Requests | 112 |
| ......· How to Move Print Requests to Another Printer | 113 |
| ......· How to Change the Priority of a Print Request | 114 |
| ......· How to Hold, Resume, or Print a Request Next | 115 |
| ......· How to Enable or Disable a Printer | 116 |
| ......· How to Remove a Printer From Service | 118 |
| ......· How to Start or Stop the Print Service Scheduler | 120 |
| ......· How to Monitor and Clean Out Log Files | 122 |
| ...Reference Information for Routine Printer Administration | 123 |
| ......Summary of LP Print Service Commands | 124 |
5. Managing Character Sets, Filters, |
| ...Forms, and Fonts | 125 |
| ...About Character Sets, Filters, Forms, and Fonts | 126 |
| ......Setting Up and Administering Character Sets | 126 |
| ......Setting Up and Administering Print Filters | 129 |
| ......Setting Up and Administering Forms | 130 |
| ......Installing and Maintaining PostScript Fonts | 132 |
| ...Managing Character Sets, Filters, Forms, and Fonts | 135 |
| ......· How to Set Up Hardware-Mounted or Selectable Character |
| ........Sets | 136 |
| |
| ......· How to Mount, Unmount, and Set Alerts for Hard Character |
| ........Sets | 138 |
| ......· How to Add, Change, Remove, or Restore Print Filters | 140 |
| ......· How to View Print Filter Definitions | 142 |
| ......· How to Add, Change, or Remove a Form | 143 |
| ......· How to Mount, Unmount, and Specify Alerts for Forms | 145 |
| ......· How to Obtain Information About Forms | 147 |
| ......· How to Allow or Deny User Access to Forms | 149 |
| ......· How to Allow or Deny Use of Forms on a Printer | 150 |
| ......· How to Install Downloaded and Host-Resident PostScript |
| ........Fonts | 151 |
6. Setting Printing Policies | 153 |
| ...About Setting Printing Policies | 154 |
| ......Controlling the System Printer Destination | 154 |
| ......Setting Banner Page Policy | 155 |
| ......Permitting Users to Enable or Disable a Printer | 155 |
| ......Setting Printer Fault Alerts | 156 |
| ......Specifying Printer Fault Recovery | 157 |
| ......Defining Classes of Printers | 158 |
| ......Adding a Printer Description | 159 |
| ......Setting Priority Limits | 159 |
| ......Creating allow and deny Lists | 160 |
| ......Controlling User Access to Printers | 161 |
| ...Instructions for Setting Printing Policies | 162 |
| ......· How to Set the System Printer Destination | 162 |
| |
| ......· How to Control Printing of Banner Pages | 162 |
| ......· How to Control Access to enable and disable Commands |
| ........163 |
| ......· How to Specify Alerts for Printer Faults | 164 |
| ......· How to Specify Fault Recovery | 165 |
| ......· How to Define a Class of Printers | 166 |
| ......· How to Add a Printer Description | 166 |
| ......· How to Set Default Priority and Priority Limits for Users |
| ........167 |
| ......· How to Allow or Deny Users Access to a Printer | 168 |
7. Troubleshooting Printing Problems | 171 |
| ...About Troubleshooting Printing Problems | 172 |
| ......Troubleshooting No Output (Nothing Prints) | 172 |
| ......Troubleshooting Incorrect Output | 174 |
| ......Troubleshooting Hung LP Print Service Commands | 176 |
| ......Troubleshooting Idle (Hung) Printers | 177 |
| ......Troubleshooting Conflicting Status Messages | 178 |
| ...Instructions for Troubleshooting Printing Problems | 178 |
| ......· How to Troubleshoot No Output | 179 |
| ......· How to Troubleshoot Incorrect Output | 199 |
| ......· How to Unhang the LP Commands | 204 |
| ......· How to Troubleshoot an Idle (Hung) Printer | 205 |
| ......· How to Resolve Conflicting Status Messages | 207 |
Part 3--Mail |
8. Understanding Mail Services | 211 |
| |
| ...Components of the Mail Service | 211 |
| ......Mail Services Programs and Files | 212 |
| ......Mail Services Terminology | 214 |
| ...Planning Your Mail System | 236 |
| ......Local Mail Only | 236 |
| ......Local Mail and a uucp Connection | 237 |
| ......One Domain, Two Networks, and a Router | 238 |
| ......Two Domains and a Gateway | 240 |
| ...An Overview of the Mail Service | 241 |
| ......Structure of the Mail Service | 241 |
| ...How the Mail Service Works | 244 |
| ......How sendmail Works | 244 |
| ...... Error Handling | 246 |
| ......How Mail Addressing Works | 247 |
9. Setting Up and Administering |
| ...Mail Services | 251 |
| ...Setting Up Mail Services | 252 |
| ......Setting Up Mail Security | 254 |
| ......· How to Set Up a Mail Server | 254 |
| ......· How to Set Up a Mail Client | 254 |
| ......· How to Set Up a Mail Host | 255 |
| ......· How to Set Up a Relay Host | 256 |
| ...Creating Mail Aliases | 257 |
| ......· How to List the Contents of an NIS+ Aliases Table | 257 |
| |
| ......· How to Add Aliases to a NIS+ Aliases Table from the |
| ........Command Line | 258 |
| ......· How to Add Entries by Editing an NIS+ Aliases Table | 259 |
| ......· How to Change Entries in an NIS+ Aliases Table | 259 |
| ......· How to Delete Entries from a NIS+ Aliases Table | 260 |
| ......· How to Set Up NIS Aliases Files | 260 |
| ......· How to Set Up Local Mail Aliases Files | 261 |
| ......· How to Set Up DNS Aliases Files | 263 |
| ......· How to Set Up the Postmaster Alias | 264 |
| ...Testing the Mail Configuration | 265 |
| ......· How to Test the Mail Configuration | 265 |
| ...Administering the Mail Configuration | 266 |
| ......Duties of the Postmaster | 266 |
| ......· How to Print the Queue | 268 |
| ......· How to Force the Queue | 268 |
| ......· How to Run the Old Mail Queue | 269 |
| ......System Log | 270 |
| ...Troubleshooting Tips | 272 |
| ......· How to Check Aliases | 272 |
| ......· How to Test the sendmail Program | 272 |
| ......· How to Verify Connections to Other Systems | 273 |
| ......Other Diagnostic Information | 273 |
A. Setting Up Printer Services |
| ...Using the Command-Line Interface | 275 |
| |
| ...About Setting Up Printing Using the LP Print Service |
| ......Command-Line Interface | 276 |
| ......Print Server Configuration | 277 |
| ......Printer Configuration Information for LP Print Service |
| ........Commands | 279 |
| ...Setting Up Printing Services with the Command-Line Interface | 280 |
| ......· How to Set Up a SunOS 5.x Local Printer | 281 |
| ......· How to Set Up a SunOS 4.1 Local Printer | 288 |
| ......· How to Set Up a SunOS 5.x Print Server | 288 |
| ......· How to Set Up a SunOS 4.1 Print Server | 292 |
| ......· How to Set Up SunOS 5.x Print Clients | 292 |
| ......· How to Set Up SunOS 4.1 Print Clients | 295 |
| ...Adding a Network Printer | 296 |
| ......· How to Add a Network Printer (Using the BSD Protocol) |
| ........296 |
| ......· How to Add a Network Printer (Using a Special Protocol) |
| ........298 |
B. Understanding and Customizing |
| ...the LP Print Service | 301 |
| ...An Overview of the LP Print Service | 302 |
| ......Functions Provided by the LP Print Service | 302 |
| ......The Structure of the LP Print Service | 308 |
| ...Understanding How the Print Service Works | 319 |
| ......Local Printing | 319 |
| ......Remote Printing | 321 |
| ...About Customizing the LP Print Service | 327 |
| |
| ......Adjusting Printer Port Characteristics | 327 |
| ......Adjusting the terminfo Database for an Unsupported Printer |
| ........327 |
| ......Customizing the Printer Interface Program | 328 |
| ......Creating a New Print Filter | 332 |
| ......Creating a New Printer Form | 342 |
| ...Instructions for Customizing the LP Print Service | 344 |
| ......· How to Adjust the Printer Port Characteristics | 344 |
| ......· How to Adjust the terminfo Database for |
| ........an Unsupported Printer | 345 |
| ......· How to Provide a Custom Printer Interface Program | 348 |
| ......· How to Provide a New Print Filter | 349 |
| ......· How to Provide a New Form | 353 |
C. Customizing sendmail |
| ...Configuration Files | 357 |
| ...Features of the sendmail Program | 358 |
| ...Overview of sendmail Functions | 359 |
| ......Interfaces to the Outside World | 360 |
| ......How sendmail Works | 360 |
| ......Message Header Editing | 362 |
| ......Configuration File | 362 |
| ...How sendmail Is Implemented | 362 |
| ......Mail to Files and Programs | 363 |
| ......Message Collection | 363 |
| ......Message Delivery | 364 |
| |
| ......Queued Messages | 364 |
| ......Configuration Overview | 365 |
| ...Arguments to sendmail | 366 |
| ......Queue Interval | 366 |
| ......Daemon Mode | 367 |
| ......Debugging | 367 |
| ......Trying a Different Configuration File | 368 |
| ...Tuning Configuration Parameters | 368 |
| ......Time Values | 368 |
| ......Delivery Mode | 370 |
| ......Load Limiting | 370 |
| ......Log Level | 371 |
| ......File Modes | 372 |
| ...sendmail Configuration File | 373 |
| ......Purpose of the sendmail Configuration File | 373 |
| ......A Sample sendmail Configuration File | 375 |
| ......sendmail Configuration File Syntax | 384 |
| ......Special Header Lines | 390 |
| ......R and S--Rewriting Rules | 390 |
| ......Address Rewriting Rules | 392 |
| ......Building a Configuration File | 403 |
| ...How sendmail Interacts With a Name Service | 405 |
| ......How to Set Up sendmail Requirements for Name Services | 406 |
| ...sendmail Command-Line Arguments | 409 |