-
Chapter 1 Customizing the User Environment
-
Introduction
-
Get the Most Out of the Default Shell
-
Useful tcsh Shell Configuration File Options
-
Create Shell Bindings
-
Use Terminal and X Bindings
-
Use the Mouse at a Terminal
-
Get Your Daily Dose of Trivia
-
Lock the Screen
-
Create a Trash Directory
-
Customize User Configurations
-
Maintain Your Environment on Multiple Systems
-
Use an Interactive Shell
-
Use Multiple Screens on One Terminal
-
-
Chapter 2 Dealing with Files and Filesystems
-
Introduction
-
Find Things
-
Get the Most Out of grep
-
Manipulate Files with sed
-
Format Text at the Command Line
-
Delimiter Dilemma
-
DOS Floppy Manipulation
-
Access Windows Shares Without a Server
-
Deal with Disk Hogs
-
Manage Temporary Files and Swap Space
-
Recreate a Directory Structure Using mtree
-
Ghosting Systems
-
-
Chapter 3 The Boot and Login Environments
-
Introduction
-
Customize the Default Boot Menu
-
Protect the Boot Process
-
Run a Headless System
-
Log a Headless Server Remotely
-
Remove the Terminal Login Banner
-
Protecting Passwords With Blowfish Hashes
-
Monitor Password Policy Compliance
-
Create an Effective, Reusable Password Policy
-
Automate Memorable Password Generation
-
Use One Time Passwords
-
Restrict Logins
-
-
Chapter 4 Backing Up
-
Introduction
-
Back Up FreeBSD with SMBFS
-
Create Portable POSIX Archives
-
Interactive Copy
-
Secure Backups Over a Network
-
Automate Remote Backups
-
Automate Data Dumps for PostgreSQL Databases
-
Perform Client-Server Cross-Platform Backups with Bacula
-
-
Chapter 5 Networking Hacks
-
Introduction
-
See Console Messages Over a Remote Login
-
Spoof a MAC Address
-
Use Multiple Wireless NIC Configurations
-
Survive Catastrophic Internet Loss
-
Humanize tcpdump Output
-
Understand DNS Records and Tools
-
Send and Receive Email Without a Mail Client
-
Why Do I Need sendmail?
-
Hold Email for Later Delivery
-
Get the Most Out of FTP
-
Distributed Command Execution
-
Interactive Remote Administration
-
-
Chapter 6 Securing the System
-
Introduction
-
Strip the Kernel
-
FreeBSD Access Control Lists
-
Protect Files with Flags
-
Tighten Security with Mandatory Access Control
-
Use mtree as a Built-in Tripwire
-
Intrusion Detection with Snort, ACID, MySQL, and FreeBSD
-
Encrypt Your Hard Disk
-
Sudo Gotchas
-
sudoscript
-
Restrict an SSH server
-
Script IP Filter Rulesets
-
Secure a Wireless Network Using PF
-
Automatically Generate Firewall Rules
-
Automate Security Patches
-
Scan a Network of Windows Computers for Viruses
-
-
Chapter 7 Going Beyond the Basics
-
Introduction
-
Tune FreeBSD for Different Applications
-
Traffic Shaping on FreeBSD
-
Create an Emergency Repair Kit
-
Use the FreeBSD Recovery Process
-
Use the GNU Debugger to Analyze a Buffer Overflow
-
Consolidate Web Server Logs
-
Script User Interaction
-
Create a Trade Show Demo
-
-
Chapter 8 Keeping Up-to-Date
-
Introduction
-
Automated Install
-
FreeBSD from Scratch
-
Safely Merge Changes to /etc
-
Automate Updates
-
Create a Package Repository
-
Build a Port Without the Ports Tree
-
Keep Ports Up-to-Date with CTM
-
Navigate the Ports System
-
Downgrade a Port
-
Create Your Own Startup Scripts
-
Automate NetBSD Package Builds
-
Easily Install Unix Applications on Mac OS X
-
-
Chapter 9 Grokking BSD
-
Introduction
-
How'd He Know That?
-
Create Your Own Manpages
-
Get the Most Out of Manpages
-
Apply, Understand, and Create Patches
-
Display Hardware Information
-
Determine Who Is on the System
-
Spelling Bee
-
Leave on Time
-
Run Native Java Applications
-
Rotate Your Signature
-
Useful One-Liners
-
Fun with X
-
- Title:
- BSD Hacks
- By:
- Dru Lavigne
- Publisher:
- O'Reilly Media
- Formats:
-
- Ebook
- Safari Books Online
- Print Release:
- May 2004
- Ebook Release:
- February 2009
- Pages:
- 448
- Print ISBN:
- 978-0-596-00679-2
- | ISBN 10:
- 0-596-00679-9
- Ebook ISBN:
- 978-0-596-10447-4
- | ISBN 10:
- 0-596-10447-2
Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The image on the cover of BSD Hacks is a pitchfork. A pitchfork (also known as a garden or spading fork) is a versatile agricultural hand tool. It can be used for a range of tasks, including aerating soil, pitching hay, and mixing compost. In addition to its practical uses, the pitchfork is also symbolic; for example, it is often included in depictions of the Devil, and it is a central feature of Grant Wood's American Gothic. A pitchfork can have two, three, or four curved prongs, but most pitchforks manufactured today (such as the one depicted in the cover image) have four. Genevieve d'Entremont was the production editor and copyeditor for BSD Hacks. Reg Aubry proofread the book. Matt Hutchinson and Claire Cloutier provided quality control. Judy Hoer wrote the index.
Hanna Dyer designed the cover of this book, based on a series design by Edie Freedman. The cover image is a photograph from the Stockbyte Work Tools CD. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's Helvetica Neue and ITC Garamond fonts.
David Futato designed the interior layout. This book was converted by Joe Wizda to FrameMaker 5.5.6 with a format conversion tool created by Erik Ray, Jason McIntosh, Neil Walls, and Mike Sierra that uses Perl and XML technologies. The text font is Linotype Birka; the heading font is Adobe Helvetica Neue Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. This colophon was written by Genevieve d'Entremont.
