Book description
Some people plan to become administrators. The rest of us are thrust into it: we are webmasters, hobbyists, or just the default "technical people" on staff who are expected to keep things running. After some stumbling around repeating the same steps over and over again (and occasionally paying the price when we forget one), we realize that we must automate these tasks, or suffer endless frustration. Thus enters Perl. The Perl programming language is ideal for writing quick yet powerful scripts that automate many administrative tasks. It's modular, it's powerful, and it's perfect for managing systems and services on many platforms. Perl for System Administration is designed for all levels of administrators--from hobbyists to card-carrying SAGE members--sysadmins on multi-platform sites. Written for several different platforms (Unix, Windows NT, and Mac OS), it's a guide to the pockets of administration where Perl can be most useful for sites large and small, including:
Filesystem management
User administration with a dash of XML
DNS and other network name services
Database administration using DBI and ODBC
Directory services and frameworks like LDAP and ADSI
Using email for system administration
Working with log files of all kinds
Each chapter concentrates on a single administrative area, discusses the possible pitfalls, and then shows how Perl comes to the rescue. Along the way we encounter interesting Perl features and tricks, with many extended examples and complete programs. The scripts included in the book can simply be used as written or with minimal adaptation. But it's likely that readers will also get a taste of what Perl can do, and start extending those scripts for tasks that we haven't dreamed of. Perl for System Adminstration doesn't attempt to teach the Perl language, but it is an excellent introduction to the power and flexibility of Perl, and it whets the appetite to learn more. It's for anyone who needs to use Perl for system administration and needs to hit the ground running.
Table of contents
-
Perl for System Administration
- Preface
- 1. Introduction
- 2. Filesystems
- 3. User Accounts
- 4. User Activity
- 5. TCP/IP Name Services
-
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)
- ADSI Basics
- Using ADSI from Perl
- Dealing with Container/Collection Objects
- Identifying a Container Object
- So How Do You Know Anything About an Object?
- Searching
- Performing Common Tasks Using the WinNT and LDAP Namespaces
- Working with Users via ADSI
- Working with Groups via ADSI
- Working with File Shares via ADSI
- Working with Print Queues and Print Jobs via ADSI
- Working with NT/2000 Services via ADSI
- Module Information for This Chapter
- References for More Information
- 7. SQL Database Administration
- 8. Electronic Mail
- 9. Log Files
- 10. Security and Network Monitoring
- A. The Five-Minute RCS Tutorial
- B. The Ten-Minute LDAP Tutorial
- C. The Eight-Minute XML Tutorial
- D. The Fifteen-Minute SQL Tutorial
- E. The Twenty-Minute SNMP Tutorial
- Index
- Colophon
Product information
- Title: Perl for System Administration
- Author(s):
- Release date: July 2000
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9781565926097
You might also like
book
Perl Hacks
With more than a million dedicated programmers, Perl has proven to be the best computing language …
book
Pro Perl
Over the years, Perl has grown from an elegant scripting tool into a mature and full-featured …
book
Network Programming with Perl
"This is a superb book. Another splendid book from Lincoln, whose mastery and lucid exposition make …
book
Perl by Example
The World’s Easiest Perl 5 Tutorial—Updated for Today’s Applications and “Modern Perl” Best Practices “When I …