Showing posts with label pkg. Show all posts
Showing posts with label pkg. Show all posts

12 January 2012

Fixing an Overly Eager chmod in Linux

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

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

12 July 2011

Notes on Packages in Solaris 11

While working out details for a separate write up, I started stumbling
through Solaris' new handling of packages, IPS.  Unlike previous versions
of Solaris which used the traditional "pkgXYZ" commands, directory
structures, etc, IPS (image packaging system) uses a completely new

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

18 October 2010

Rebuilding a Solaris Package

Have you ever needed to rebuild a package already installed on a Solaris
host?  Though it may seem to be a rare case, I've had to do this several
times in the past and have yet to find any clear information on it.
A recent instance was where a primary host had a piece of software

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.

Package Builds in FreeBSD

This document details how to create a package on FreeBSD.  Only the
creation of a simple package is detailed in this doc.  For more elaborate
packages, see the relevant man pages.

Package Builds in Solaris

This document details how to create a package on Solaris.  Only the
creation 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