Operating System - Linux
1821244 Members
2791 Online
109632 Solutions
New Discussion юеВ

having problem updating db on tripwire...

 
K.C. Chan
Trusted Contributor

having problem updating db on tripwire...

all,
I made changes to /etc/passwd and do not want .sh_history-1, .sh-history-2, and so on be monitored by tripwire. So what I did is made changes to policy file and update it via "tripwire -m p /path/policyfile", however, I am getting this error:

======== Policy Update: Processing section Unix File System.
======== Step 1: Gathering information for the new policy.
### Error: Policy Update Changed Object.
### An object has been changed since the database was last updated.
### Object name: Conflicting properties for object /etc/sysconfig/hwconf
### > Modify Time
### Error: Policy Update Changed Object.
### An object has been changed since the database was last updated.
### Object name: Conflicting properties for object /etc/passwd
### > Inode Number
### Error: Policy Update Changed Object.
### An object has been changed since the database was last updated.
### Object name: Conflicting properties for object /root
### > Modify Time
### > Change Time
======== Step 2: Updating the database with new objects.
======== Step 3: Pruning unneeded objects from the database.
Policy update failed; policy and database files were not altered.

Does any one have any idea? Thanks.
Reputation of a thousand years can be determined by the conduct of an hour
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: having problem updating db on tripwire...

Part of the setup of tripwire involves creating a new database, which is a snapshot of the current system.

Something has changed and you may need to do a new tripwire database.

Might first want to run some reports and make sure you have not been hacked or modified without authorization.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
K.C. Chan
Trusted Contributor

Re: having problem updating db on tripwire...

No,
it's not hacked. I added a user. so the password file changes. So to reconcile the changes I have to create a new base db file? Couldn't I just run an update command instead? It seems to be a waist of resource to generate a new db every time there's a valid change ocurring in the system.
Reputation of a thousand years can be determined by the conduct of an hour