Skip to Content
Linux Security Cookbook
book

Linux Security Cookbook

by Daniel J. Barrett, Richard E. Silverman, Robert G. Byrnes
June 2003
Intermediate to advanced
336 pages
8h 54m
English
O'Reilly Media, Inc.
Content preview from Linux Security Cookbook

1.13. Excluding Files from the Database

Problem

You want to add some, but not all, files in a given directory to the Tripwire database.

Solution

Mark a directory hierarchy for inclusion:

/etc -> rule

Immediately after, mark some files to be excluded:

!/etc/not.me
!/etc/not.me.either

You can exclude a subdirectory too:

!/etc/dirname

Discussion

The exclamation mark (!) prevents the given file or subdirectory from being added to Tripwire’s database.

See Also

The Tripwire manual has detailed documentation on the policy file format.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Practical Linux Security Cookbook - Second Edition

Practical Linux Security Cookbook - Second Edition

Tajinder Kalsi
Mastering Linux Command Line

Mastering Linux Command Line

Coding Gears | Train Your Brain

Publisher Resources

ISBN: 0596003919Errata Page