Print Download PDF Send Feedback

Previous

Next

fwm dbimport

Description Imports users into the Check Point User Database from an external file. You can create this file yourself, or use a file generated by fwm dbexport.

Syntax

> fwm dbimport [-m] [-s] [-v] [-r] [-k <errors>] [-f <file>] [-d <delim>]

Parameter

Description

-m

If an existing user is encountered in the import file, the user's default values will be replaced by the values in the template (the default template or the one given in the attribute list for that user in the import file), and the original values will be ignored.

-s

Suppress the warning messages issued when an existing user's values are changed by values in the import file.

-v

verbose mode

-r

fwm dbimport will delete all existing users in the database.

-k <errors>

Continue processing until nerror errors are encountered.
The line count in the error messages starts from 1 including the attributes line and counting empty or commented out lines.

-f <file>

The name of the import file. The default import file is $FWDIR/conf/user_def_file.

-d <delim>

Specifies a delimiter different from the default value (;).

Comments The IKE pre shared secret does not work when exporting from one machine and importing to another.

To ensure that there is no dependency on the previous database values, use the‑r flag together with the -m flag.

File Format

The import file must conform to the following Usage:

{name; groups; destinations; sources; auth_method; fromhour; tohour; expiration_date; color; days; internal_password; SKEY_seed; SKEY_passwd; SKEY_gateway; template; comments; userc}