[Integrit-users] Script to roll back filesystem changes as reported by integrit?
Brought to you by:
ecashin
From: Antoine <abo...@ya...> - 2005-04-22 12:56:54
|
Hello all, I just did a classic chown -R root:root .* and now my whole filesystem is owned by root. Some apps like the mailer daemon or MySQL don't seem to like that very much. (Users wouldn't like that very much either, but luckily I'm the only user on that system.. :) Now I have a good integrit database from last night, and I'm thinking that it could help me undo the changes at least on /usr, /bin etc. So I'm looking for a script that can parse the changes output by integrit and revert the affected files to the last known good state. Maybe someone here had to write such a thing in the past or can point me in the right direction? A quick web search didn't yield anything. All that interests me really is the changes in ownership, and optionally mtime/atime. thanks, antoine __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/ |