Book description
If you do systems administration work of any kind, you have to deal with the growing complexity of your environment and increasing demands on your time. Automating System Administration with Perl, Second Edition, not only offers you the right tools for your job, but also suggests the best way to approach specific problems and to securely automate recurring tasks.
Updated and expanded to cover the latest operating systems, technologies, and Perl modules, this edition of the "Otter Book" will help you:
- Manage user accounts
- Monitor filesystems and processes
- Work with configuration files in important formats such as XML and YAML
- Administer databases, including MySQL, MS-SQL, and Oracle with DBI
- Work with directory services like LDAP and Active Directory
- Script email protocols and spam control
- Effectively create, handle, and analyze log files
- Administer network name and configuration services, including NIS, DNS and DHCP
- Maintain, monitor, and map network services, using technologies and tools such as SNMP, nmap, libpcap, GraphViz and RRDtool
- Improve filesystem, process, and network security
This edition includes additional appendixes to get you up to speed on technologies such as XML/XPath, LDAP, SNMP, and SQL. With this book in hand and Perl in your toolbox, you can do more with less -- fewer resources, less effort, and far less hassle.
Publisher resources
Table of contents
- Automating System Administration with Perl
- Dedication
- Preface
- 1. Introduction
-
2. Filesystems
- Perl to the Rescue
- Filesystem Differences
- Walking or Traversing the Filesystem by Hand
- Walking the Filesystem Using the File::Find Module
- Walking the Filesystem Using the File::Find::Rule Module
- Manipulating Disk Quotas
- Editing NTFS Quotas Under Windows
- Querying Filesystem Usage
- Module Information for This Chapter
- References for More Information
- 3. User Accounts
- 4. User Activity
- 5. TCP/IP Name and Configuration Services
- 6. Working with Configuration Files
- 7. SQL Database Administration
- 8. Email
-
9. Directory Services
- What’s a Directory?
- Finger: A Simple Directory Service
- The WHOIS Directory Service
- LDAP: A Sophisticated Directory Service
-
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 Windows-Based Operating System Services via ADSI
- Module Information for This Chapter
- References for More Information
- 10. Log Files
- 11. Security
- 12. SNMP
- 13. Network Mapping and Monitoring
- 14. Experiential Learning
- A. The Eight-Minute XML Tutorial
- B. The 10-Minute XPath Tutorial
- C. The 10-Minute LDAP Tutorial
- D. The 15-Minute SQL Tutorial
- E. The Five-Minute RCS Tutorial
- F. The Two-Minute VBScript-to-Perl Tutorial
- G. The 20-Minute SNMP Tutorial
- Index
- About the Author
- Colophon
- Copyright
Product information
- Title: Automating System Administration with Perl, 2nd Edition
- Author(s):
- Release date: May 2009
- Publisher(s): O'Reilly Media, Inc.
- ISBN: 9780596006396
You might also like
book
Mastering Perl, 2nd Edition
Take the next step toward Perl mastery with advanced concepts that make coding easier, maintenance simpler, …
book
Learning Perl, 7th Edition
If you’re just getting started with Perl, this is the book you want—whether you’re a programmer, …
book
Learning Perl, 8th Edition
If you're just getting started with Perl, this is the book you want—whether you're a programmer, …
book
Perl Cookbook, 2nd Edition
Find a Perl programmer, and you'll find a copy of Perl Cookbook nearby. Perl Cookbook is …