Linux Server Hacks, Volume Two
By
Brian K. Jones
,
William von Hagen
...............................................
Publisher:
O'Reilly
Pub Date:
December 2005
Print ISBN-10:
0-596-10082-5
Print ISBN-13:
978-0-59-610082-7
Pages:
478
Table of Contents
|
Index
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
Section 1.1. Hacks 19: Introduction
Hack 1. Disable User Accounts Instantly
Hack 2. Edit Your Password File for Greater Access Control
Hack 3. Deny All Access in One Second or Less
Hack 4. Customize Authentication with PAMs
Hack 5. Authenticate Linux Users with a Windows Domain Controller
Hack 6. Centralize Logins with LDAP
Hack 7. Secure Your System with Kerberos
Hack 8. Authenticate NFS-Lovers with NIS
Hack 9. Sync LDAP Data with NIS
Chapter 2. Remote GUI Connectivity
Section 2.1. Hacks 1019: Introduction
Hack 10. Access Systems Remotely with VNC
Hack 11. Access VNC Servers over the Web
Hack 12. Secure VNC via SSH
Hack 13. Autostart VNC Servers on Demand
Hack 14. Put Your Desktops on a Thin Client Diet
Hack 15. Run Windows over the Network
Hack 16. Secure, Lightweight X Connections with FreeNX
Hack 17. Secure VNC Connections with FreeNX
Hack 18. Secure Windows Terminal Connections with FreeNX
Hack 19. Remote Administration with Webmin
Chapter 3. System Services
Section 3.1. Hacks 2028: Introduction
Hack 20. Quick and Easy DHCP Setup
Hack 21. Integrate DHCP and DNS with Dynamic DNS Updates
Hack 22. Synchronize Your Watches!
Hack 23. Centralize X Window System Font Resources
Hack 24. Create a CUPS Print Server
Hack 25. Configure Linux Connections to Remote CUPS Printers
Hack 26. Integrate Windows Printing with CUPS
Hack 27. Centralize Macintosh Printing with CUPS
Hack 28. Define a Secure CUPS Printer
Chapter 4. Cool Sysadmin Tools and Tips
Section 4.1. Hacks 2945: Introduction
Hack 29. Execute Commands Simultaneously on Multiple Servers
Hack 30. Collaborate Safely with a Secured Wiki
Hack 31. Edit Your GRUB Configuration with grubby
Hack 32. Give Your Tab Key a Workout
Hack 33. Keep Processes Running After a Shell Exits
Hack 34. Disconnect Your Console Without Ending Your Session
Hack 35. Use script to Save Yourself Time and Train Others
Hack 36. Install Linux Simply by Booting
Hack 37. Turn Your Laptop into a Makeshift Console
Hack 38. Usable Documentation for the Inherently Lazy
Hack 39. Exploit the Power of Vim
Hack 40. Move Your PHP Web Scripting Skills to the Command Line
Hack 41. Enable Quick telnet/SSH Connections from the Desktop
Hack 42. Speed Up Compiles
Hack 43. Avoid Common Junior Mistakes
Hack 44. Get Linux Past the Gatekeeper
Hack 45. Prioritize Your Work
Chapter 5. Storage Management and Backups
Section 5.1. Hacks 4655: Introduction
Hack 46. Create Flexible Storage with LVM
Hack 47. Combine LVM and Software RAID
Hack 48. Create a Copy-on-Write Snapshot of an LVM Volume
Hack 49. Clone Systems Quickly and Easily
Hack 50. Make Disk-to-Disk Backups for Large Drives
Hack 51. Free Up Disk Space Now
Hack 52. Share Files Using Linux Groups
Hack 53. Refine Permissions with ACLs
Hack 54. Make Files Easier to Find with Extended Attributes
Hack 55. Prevent Disk Hogs with Quotas
Chapter 6. Standardizing, Sharing, and Synchronizing Resources
Section 6.1. Hacks 5662: Introduction
Hack 56. Centralize Resources Using NFS
Hack 57. Automount NFS Home Directories with autofs
Hack 58. Keep Filesystems Handy, but Out of Your Way
Hack 59. Synchronize root Environments with rsync
Hack 60. Share Files Across Platforms Using Samba
Hack 61. Quick and Dirty NAS
Hack 62. Share Files and Directories over the Web
Chapter 7. Security
Section 7.1. Hacks 6368: Introduction
Hack 63. Increase Security by Disabling Unnecessary Services
Hack 64. Allow or Deny Access by IP Address
Hack 65. Detect Network Intruders with snort
Hack 66. Tame Tripwire
Hack 67. Verify Fileystem Integrity with Afick
Hack 68. Check for Rootkits and Other Attacks
Chapter 8. Troubleshooting and Performance
Section 8.1. Hacks 6977: Introduction
Hack 69. Find Resource Hogs with Standard Commands
Hack 70. Reduce Restart Times with Journaling Filesystems
Hack 71. Grok and Optimize Your System with sysctl
Hack 72. Get the Big Picture with Multiple Displays
Hack 73. Maximize Resources with a Minimalist Window Manager
Hack 74. Profile Your Systems Using /proc
Hack 75. Kill Processes the Right Way
Hack 76. Use a Serial Console for Centralized Access to Your Systems
Hack 77. Clean Up NIS After Users Depart
Chapter 9. Logfiles and Monitoring
Section 9.1. Hacks 7888: Introduction
Hack 78. Avoid Catastrophic Disk Failure
Hack 79. Monitor Network Traffic with MRTG
Hack 80. Keep a Constant Watch on Hosts
Hack 81. Remotely Monitor and Configure a Variety of Networked Equipment
Hack 82. Force Standalone Apps to Use syslog
Hack 83. Monitor Your Logfiles
Hack 84. Send Log Messages to Your Jabber Client
Hack 85. Monitor Service Availability with Zabbix
Hack 86. Fine-Tune the syslog Daemon
Hack 87. Centralize System Logs Securely
Hack 88. Keep Tabs on Systems and Services
Chapter 10. System Rescue, Recovery, and Repair
Section 10.1. Hacks 89100: Introduction
Hack 89. Resolve Common Boot and Startup Problems
Hack 90. Rescue Me!
Hack 91. Bypass the Standard Init Sequence for Quick Repairs
Hack 92. Find Out Why You Can't Unmount a Partition
Hack 93. Recover Lost Partitions
Hack 94. Recover Data from Crashed Disks
Hack 95. Repair and Recover ReiserFS Filesystems
Hack 96. Piece Together Data from the lost+found
Hack 97. Recover Deleted Files
Hack 98. Permanently Delete Files
Hack 99. Permanently Erase Hard Disks
Hack 100. Recover Lost Files and Perform Forensic Analysis
Colophon
Index