My Account
View Cart
Home
Community
Books & Videos
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
BSD Hacks
100 Industrial Tip & Tools
By
Dru Lavigne
May 2004
Pages: 448
|
Table of Contents
|
Index
|
Sample Hacks
|
Colophon
Table of Contents
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
Return to
BSD Hacks