Limit search to available items
Book Cover
E-book
Author Blank-Edelman, David N

Title Perl for system administration / David N. Blank-Edelman
Edition 1st ed
Published Cambridge, Mass. : O'Reilly, 2000

Copies

Description 1 online resource (xiv, 430 pages) : illustrations
Contents System Administration Is a Craft -- 1 -- How Perl Can Help -- 1 -- This Book Will Show You How -- 3 -- What You Need -- 4 -- Locating and Installing Modules -- 6 -- It's Not Easy Being Omnipotent -- 8 -- 2. Filesystems -- 13 -- Perl to the Rescue -- 13 -- Filesystem Differences -- 14 -- Walking or Traversing the Filesystem -- 18 -- Walking the Filesystem Using the File::Find Module -- 24 -- Manipulating Disk Quotas -- 34 -- Querying Filesystem Usage -- 40 -- Module Information for This Chapter -- 42 -- 3. User Accounts -- 43 -- Unix User Identity -- 44 -- Windows NT/2000 User Identity -- 52 -- Building an Account System to Manage Users -- 61 -- Module Information for This Chapter -- 92 -- 4. User Activity -- 95 -- MacOS Process Control -- 96 -- NT/2000 Process Control -- 97 -- Unix Process Control -- 113 -- Tracking File and Network Operations -- 120 -- Module Information for This Chapter -- 129 -- 5. TCP/IP Name Services -- 132 -- Host Files
132 -- NIS, NIS+, and WINS -- 145 -- Domain Name Service (DNS) -- 149 -- Module Information for This Chapter -- 168 -- 6. Directory Services -- 169 -- What's a Directory? -- 169 -- Finger: A Simple Directory Service -- 170 -- WHOIS Directory Service -- 174 -- LDAP: A Sophisticated Directory Service -- 176 -- ADSI (Active Directory Service Interfaces) -- 202 -- Module Information for This Chapter -- 220 -- 7. SQL Database Administration -- 223 -- Interacting with an SQL Server from Perl -- 224 -- Using the DBI Framework -- 227 -- Using the ODBC Framework -- 232 -- Server Documentation -- 235 -- Database Logins -- 241 -- Monitoring Server Health -- 243 -- Module Information for This Chapter -- 249 -- 8. Electronic Mail -- 251 -- Sending Mail -- 251 -- Common Mistakes in Sending Email -- 257 -- Receiving Mail -- 270 -- Module Information for This Chapter -- 291 -- 9. Log Files -- 293 -- Text Logs -- 293 -- Binary Log Files -- 294
Stateful and Stateless Data -- 300 -- Disk Space Problems -- 302 -- Log Analysis -- 309 -- Module Information for This Chapter -- 335 -- 10. Security and Network Monitoring -- 337 -- Noticing Unexpected or Unauthorized Changes -- 338 -- Noticing Suspicious Activities -- 346 -- SNMP -- 353 -- Danger on the Wire -- 362 -- Preventing Suspicious Activities -- 371 -- Module Information for This Chapter -- 376 -- A. Five-Minute RCS Tutorial -- 379 -- B. Ten-Minute LDAP Tutorial -- 382 -- C. Eight-Minute XML Tutorial -- 388 -- D. Fifteen-Minute SQL Tutorial -- 393 -- E. Twenty-Minute SNMP Tutorial -- 405
Summary 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
Analysis PERL
Core Programming
Programming
Notes Includes index
Bibliography Includes bibliographical references and index
Notes Master and use copy. Digital master created according to Benchmark for Faithful Digital Reproductions of Monographs and Serials, Version 1. Digital Library Federation, December 2002. http://purl.oclc.org/DLF/benchrepro0212 MiAaHDL
Copyright © O'Reilly Media, Incorporated 2000
English
Print version record
digitized 2010 HathiTrust Digital Library committed to preserve pda MiAaHDL
Subject Perl (Computer program language)
Perl (Computer program language)
PERL.
Systeembeheer.
Form Electronic book
ISBN 0596152507
9780596152505