Perl for System Administration
Managing multi-platform environments with Perl
By
David N. Blank-Edelman
July 2000
Pages: 444
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
Chapter 1 Introduction
-
System Administration Is a Craft
-
How Perl Can Help
-
This Book Will Show You How
-
What You Need
-
Locating and Installing Modules
-
It's Not Easy Being Omnipotent
-
References for More Information
-
Chapter 2 Filesystems
-
Perl to the Rescue
-
Filesystem Differences
-
Walking or Traversing the Filesystem
-
Walking the Filesystem Using the File::Find Module
-
Manipulating Disk Quotas
-
Querying Filesystem Usage
-
Module Information for This Chapter
-
References for More Information
-
Chapter 3 User Accounts
-
Unix User Identity
-
Windows NT/2000 User Identity
-
Building an Account System to Manage Users
-
Module Information for This Chapter
-
References for More Information
-
Chapter 4 User Activity
-
MacOS Process Control
-
NT/2000 Process Control
-
Unix Process Control
-
Tracking File and Network Operations
-
Module Information for This Chapter
-
References for More Information
-
Chapter 5 TCP/IP Name Services
-
Host Files
-
NIS, NIS+, and WINS
-
Domain Name Service (DNS)
-
Module Information for This Chapter
-
References for More Information
-
Chapter 6 Directory Services
-
What's a Directory?
-
Finger: A Simple Directory Service
-
The WHOIS Directory Service
-
LDAP: A Sophisticated Directory Service
-
ADSI (Active Directory Service Interfaces)
-
Module Information for This Chapter
-
References for More Information
-
Chapter 7 SQL Database Administration
-
Interacting with an SQL Server from Perl
-
Using the DBI Framework
-
Using the ODBC Framework
-
Server Documentation
-
Database Logins
-
Monitoring Server Health
-
Module Information for This Chapter
-
References for More Information
-
Chapter 8 Electronic Mail
-
Sending Mail
-
Common Mistakes in Sending Email
-
Receiving Mail
-
Module Information for This Chapter
-
References for More Information
-
Chapter 9 Log Files
-
Text Logs
-
Binary Log Files
-
Stateful and Stateless Data
-
Disk Space Problems
-
Log Analysis
-
Module Information for This Chapter
-
References for More Information
-
Chapter 10 Security and Network Monitoring
-
Noticing Unexpected or Unauthorized Changes
-
Noticing Suspicious Activities
-
SNMP
-
Danger on the Wire
-
Preventing Suspicious Activities
-
Module Information for This Chapter
-
References for More Information
-
Appendix A The Five-Minute RCS Tutorial
-
References for More Information
-
Appendix B The Ten-Minute LDAP Tutorial
-
LDAP Data Organization
-
Appendix C The Eight-Minute XML Tutorial
-
XML Is a Markup Language
-
XML Is Picky
-
Two Key XML Terms
-
Leftovers
-
Appendix D The Fifteen-Minute SQL Tutorial
-
Creating /Deleting Databases and Tables
-
Inserting Data into a Table
-
Querying Information
-
Changing Table Information
-
Relating Tables to Each Other
-
SQL Stragglers
-
Appendix E The Twenty-Minute SNMP Tutorial
-
SNMP in Practice
-
Colophon
Return to Perl for System Administration