My Account
View Cart
Home
Community
Books
Safari Books Online
Conferences
Training
School of Technology
About
Complete List
Bestsellers
New Releases
Rough Cuts
Upcoming Titles
Ebooks
By Publisher
By Series
Out of Print
Order Info
Search
Search Tips
Tell a friend
Linux Server Hacks, Volume Two
Tips & Tools for Connecting, Monitoring, and Troubleshooting
By
William von Hagen
,
Brian K. Jones
December 2005
Pages: 478
Cover
|
Table of Contents
|
Colophon
Table of Contents
Copyright
Credits
About the Authors
Contributors
Acknowledgments
Preface
Why Linux Server Hacks, Volume Two?
How to Use This Book
How This Book Is Organized
Conventions Used in This Book
Using Code Examples
How to Contact Us
SafariŽ Enabled
Got a Hack?
Chapter 1
Linux Authentication
Hacks 1–9: Introduction
Disable User Accounts Instantly
Edit Your Password File for Greater Access Control
Deny All Access in One Second or Less
Customize Authentication with PAMs
Authenticate Linux Users with a Windows Domain Controller
Centralize Logins with LDAP
Secure Your System with Kerberos
Authenticate NFS-Lovers with NIS
Sync LDAP Data with NIS
Chapter 2
Remote GUI Connectivity
Hacks 10–19: Introduction
Access Systems Remotely with VNC
Access VNC Servers over the Web
Secure VNC via SSH
Autostart VNC Servers on Demand
Put Your Desktops on a Thin Client Diet
Run Windows over the Network
Secure, Lightweight X Connections with FreeNX
Secure VNC Connections with FreeNX
Secure Windows Terminal Connections with FreeNX
Remote Administration with Webmin
Chapter 3
System Services
Hacks 20–28: Introduction
Quick and Easy DHCP Setup
Integrate DHCP and DNS with Dynamic DNS Updates
Synchronize Your Watches!
Centralize X Window System Font Resources
Create a CUPS Print Server
Configure Linux Connections to Remote CUPS Printers
Integrate Windows Printing with CUPS
Centralize Macintosh Printing with CUPS
Define a Secure CUPS Printer
Chapter 4
Cool Sysadmin Tools and Tips
Hacks 29–45: Introduction
Execute Commands Simultaneously on Multiple Servers
Collaborate Safely with a Secured Wiki
Edit Your GRUB Configuration with grubby
Give Your Tab Key a Workout
Keep Processes Running After a Shell Exits
Disconnect Your Console Without Ending Your Session
Use script to Save Yourself Time and Train Others
Install Linux Simply by Booting
Turn Your Laptop into a Makeshift Console
Usable Documentation for the Inherently Lazy
Exploit the Power of Vim
Move Your PHP Web Scripting Skills to the Command Line
Enable Quick telnet/SSH Connections from the Desktop
Speed Up Compiles
Avoid Common Junior Mistakes
Get Linux Past the Gatekeeper
Prioritize Your Work
Chapter 5
Storage Management and Backups
Hacks 46–55: Introduction
Create Flexible Storage with LVM
Combine LVM and Software RAID
Create a Copy-on-Write Snapshot of an LVM Volume
Clone Systems Quickly and Easily
Make Disk-to-Disk Backups for Large Drives
Free Up Disk Space Now
Share Files Using Linux Groups
Refine Permissions with ACLs
Make Files Easier to Find with Extended Attributes
Prevent Disk Hogs with Quotas
Chapter 6
Standardizing, Sharing, and Synchronizing Resources
Hacks 56–62: Introduction
Centralize Resources Using NFS
Automount NFS Home Directories with autofs
Keep Filesystems Handy, but Out of Your Way
Synchronize root Environments with rsync
Share Files Across Platforms Using Samba
Quick and Dirty NAS
Share Files and Directories over the Web
Chapter 7
Security
Hacks 63–68: Introduction
Increase Security by Disabling Unnecessary Services
Allow or Deny Access by IP Address
Detect Network Intruders with snort
Tame Tripwire
Verify Fileystem Integrity with Afick
Check for Rootkits and Other Attacks
Chapter 8
Troubleshooting and Performance
Hacks 69–77: Introduction
Find Resource Hogs with Standard Commands
Reduce Restart Times with Journaling Filesystems
Grok and Optimize Your System with sysctl
Get the Big Picture with Multiple Displays
Maximize Resources with a Minimalist Window Manager
Profile Your Systems Using /proc
Kill Processes the Right Way
Use a Serial Console for Centralized Access to Your Systems
Clean Up NIS After Users Depart
Chapter 9
Logfiles and Monitoring
Hacks 78–88: Introduction
Avoid Catastrophic Disk Failure
Monitor Network Traffic with MRTG
Keep a Constant Watch on Hosts
Remotely Monitor and Configure a Variety of Networked Equipment
Force Standalone Apps to Use syslog
Monitor Your Logfiles
Send Log Messages to Your Jabber Client
Monitor Service Availability with Zabbix
Fine-Tune the syslog Daemon
Centralize System Logs Securely
Keep Tabs on Systems and Services
Chapter 10
System Rescue, Recovery, and Repair
Hacks 89–100: Introduction
Resolve Common Boot and Startup Problems
Rescue Me!
Bypass the Standard Init Sequence for Quick Repairs
Find Out Why You Can't Unmount a Partition
Recover Lost Partitions
Recover Data from Crashed Disks
Repair and Recover ReiserFS Filesystems
Piece Together Data from the lost+found
Recover Deleted Files
Permanently Delete Files
Permanently Erase Hard Disks
Recover Lost Files and Perform Forensic Analysis
Colophon
Return to
Linux Server Hacks, Volume Two