Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Editing base.def file in Secure Platform

Status
Not open for further replies.

ifconf

IS-IT--Management
Nov 15, 2004
28
GB
I am running Checkpoint NGAI on Secure Platform. I need to make a small change to a file called base.def but not being a Linux person I need to find some documentation on how to do this. Can any one point me in the right direction, the Checkpoint site is not helpful.
Many thanks
 
Firstly, you will need to be in Expert mode to edit the file:

[Mgmt-Srv]# expert
Enter expert password:

You are in expert mode now.

>> then to need to find the file that you want to edit ..

[Expert@Mgmt-Srv]# find / | grep base.def
/opt/CPfw1-R55/hash/base.def.hash
/opt/CPfw1-R55/lib/base.def
/opt/CPfw1-R55/libsw/base.def
/opt/CPfw1-R55/libsw/sofaware_base.def
/opt/CPfwbc-41/lib/base.def
/opt/CPfwbc-41/libsw/base.def
/opt/CPfwbc-41/libsw/sofaware_base.def

Once you have found it, use "vi" to edit it. Eg:

[Expert@Mgmt-Srv]# vi /opt/CPfw1-R55/lib/base.def

If you have never used Vi then I suggest that you Google it to get a command reference. Note however that on Linux it's not really "vi" but a modified (and much easier to use) version called "vim".

Here's one to get you started ..
Chris.



**********************
Chris Andrew, CCNA, CCSA
chris@iproute.co.uk
**********************
 
Thanks Chris, I have found it and made the changes.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top