BSD Hacks offers a unique set of tips, tricks, and tools for administrators and power users of these systems. Users learn how to save time, get more done with fewer resources, and take advantage of the tools and concepts that make the world's top Unix users more productive. And because this is an O'Reilly Hacks book, it shows them how to have some fun at the same time.
CreditsPrefaceChapter
1. Customizing the User Environment1. Get the Most Out of the Default Shell2. Useful tcsh Shell Configuration File Options3. Create Shell Bindings4. Use Terminal and X Bindings5. Use the Mouse at a Terminal6. Get Your Daily Dose of Trivia7. Lock the Screen8. Create a Trash Directory9. Customize User Configurations10. Maintain Your Environment on Multiple Systems11. Use an Interactive Shell12. Use Multiple Screens on One TerminalChapter
2. Dealing with Files and Filesystems13. Find Things14. Get the Most Out of grep15. Manipulate Files with sed16. Format Text at the Command Line17. Delimiter Dilemma18. DOS Floppy Manipulation19. Access Windows Shares Without a Server20. Deal with Disk Hogs21. Manage Temporary Files and Swap Space22. Recreate a Directory Structure Using mtree23. Ghosting SystemsChapter
3. The Boot and Login Environments24. Customize the Default Boot Menu25. Protect the Boot Process26. Run a Headless System27. Log a Headless Server Remotely28. Remove the Terminal Login Banner29. Protecting Passwords With Blowfish Hashes30. Monitor Password Policy Compliance31. Create an Effective, Reusable Password Policy32. Automate Memorable Password Generation33. Use One Time Passwords34. Restrict LoginsChapter
4. Backing Up35. Back Up FreeBSD with SMBFS36. Create Portable POSIX Archives37. Interactive Copy38. Secure Backups Over a Network39. Automate Remote Backups40. Automate Data Dumps for PostgreSQL Databases41. Perform Client-Server Cross-Platform Backups with BaculaChapter
5. Networking Hacks42. See Console Messages Over a Remote Login43. Spoof a MAC Address44. Use Multiple Wireless NIC Configurations45. Survive Catastrophic Internet Loss46. Humanize tcpdump Output47. Understand DNS Records and Tools48. Send and Receive Email Without a Mail Client49. Why Do I Need sendmail?50. Hold Email for Later Delivery51. Get the Most Out of FTP52. Distributed Command Execution53. Interactive Remote AdministrationChapter
6. Securing the System54. Strip the Kernel55. FreeBSD Access Control Lists56. Protect Files with Flags57. Tighten Security with Mandatory Access Control58. Use mtree as a Built-in Tripwire59. Intrusion Detection with Snort, ACID, MySQL, and FreeBSD60. Encrypt Your Hard Disk61. Sudo Gotchas62. sudoscript63. Restrict an SSH server64. Script IP Filter Rulesets65. Secure a Wireless Network Using PF66. Automatically Generate Firewall Rules67. Automate Security Patches68. Scan a Network of Windows Computers for VirusesChapter
7. Going Beyond the Basics69. Tune FreeBSD for Different Applications70. Traffic Shaping on FreeBSD71. Create an Emergency Repair Kit72. Use the FreeBSD Recovery Process73. Use the GNU Debugger to Analyze a Buffer Overflow74. Consolidate Web Server Logs75. Script User Interaction76. Create a Trade Show DemoChapter
8. Keeping Up-to-Date77. Automated Install78. FreeBSD From Scratch79. Safely Merge Changes to /etc80. Automate Updates81. Create a Package Repository82. Build a Port Without the Ports Tree83. Keep Ports Up-to-Date with CTM84. Navigate the Ports System85. Downgrade a Port86. Create Your Own Startup Scripts87. Automate NetBSD Package Builds88. Easily Install Unix Applications on Mac OS XChapter
9. Grokking BSD89. How'd He Know That?90. Create Your Own Manpages91. Get the Most Out of Manpages92. Apply, Understand, and Create Patches93. Display Hardware Information94. Determine Who Is on the System95. Spelling Bee96. Leave on Time97. Run Native Java Applications98. Rotate Your Signature99. Useful One-Liners100. Fun with XIndex