LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (https://www.linuxquestions.org/questions/linux-security-4/)
-   -   "Tripwire Open Source" initial policy creation (https://www.linuxquestions.org/questions/linux-security-4/tripwire-open-source-initial-policy-creation-487312/)

lostinvietnam 09-27-2006 02:58 AM

"Tripwire Open Source" initial policy creation
 
Folks

I have installed Tripwire Open Source on FC4 using 'yum install tripwire'

However I only have the twcfg.txt and twpol.txt files in the /etc/tripwire folder after the install.

The tw.cfg policy file doesn't exist. The source install requires running twinstall.sh to create the first policy files and then using twadmin --create-polfile to update this. However it seems unless this file already exists it is not possible to update the policy files. The error I get is :

### Error: File could not be opened
### Filename: /etc/tripwire/tw.cfg
### Configuration file could not be read
### Exiting ...

Anyone know how to manually create the initial policy file when it doesn't exist and I've done an RPM install rather than from source?

thanks,

Mike.

amitsharma_26 09-28-2006 04:07 AM

You can create it with..
Code:

twadmin --create-cfgfile --cfgfile ./tw.cfg --site-keyfile ./site.key \
    twcfg.txt



All times are GMT -5. The time now is 03:26 AM.