A while ago, someone asked me how to recover from a mistyped recursive
'chmod' they performed. Similar to the write-up on an "overeager chown",
they mistyped the path and it executed against the root FS (/). Ideally,
one would have a backup to recover from, however that wasn't an option
Showing posts with label rpm. Show all posts
Showing posts with label rpm. Show all posts
12 January 2012
30 October 2011
Fixing an Overly Eager chown in Linux
A while ago, someone asked me how to recover from a mistyped recursive
'chown' they performed. They mistyped the path and it executed against
the root FS (/), though they caught it before it acted on everything.
Ideally, one would have a backup to recover from, however that wasn't
'chown' they performed. They mistyped the path and it executed against
the root FS (/), though they caught it before it acted on everything.
Ideally, one would have a backup to recover from, however that wasn't
24 February 2011
File Integrity Checks via Package DB
After a system has been installed, files tend to change over time.
These changes may be deliberate, part of normal host operation, the
result of an errant 'chmod', etc. Tools like Samhain, AIDE, and Tripwire
(note 0) have been devised specifically to identify such changes which
These changes may be deliberate, part of normal host operation, the
result of an errant 'chmod', etc. Tools like Samhain, AIDE, and Tripwire
(note 0) have been devised specifically to identify such changes which
18 October 2010
Package Builds in Linux
This document details how to create a package on Linux. Only the creation
of a simple package is detailed in this doc. For more elaborate packages,
see the relevant man pages.
of a simple package is detailed in this doc. For more elaborate packages,
see the relevant man pages.
Package File Ownership
Once a system is built and begins to be used, undoubtedly, more files
are added to the system. These files may be logs, user / application
created files, files that are part of a package, or those compiled
from source. When poking around a system, one may stumble across a file
are added to the system. These files may be logs, user / application
created files, files that are part of a package, or those compiled
from source. When poking around a system, one may stumble across a file
Subscribe to:
Posts (Atom)