Installation guide

134
Appendix A Command Line Tools
sgImportExportUser
[host=<Management Server Address
[\Domain]>]
[login=<login name>]
[pass=<password>]
action=<import|export>
file=<file path and name>
[-h|-help|-?]
Imports and exports a list of Users and User Groups in an LDIF
file from/to a Management Server’s internal LDAP database. To
import User Groups, all User Groups in the LDIF file must be
directly under the stonegate top-level group (dc=stonegate).
The user information in the export file is stored as plaintext.
Handle the file securely.
host specifies the address of the Management Server. If the
parameter is not defined, the loopback address (localhost) is
used.
Domain specifies the administrative Domain for this operation if
the system is divided into administrative Domains. If the Domain
is not specified, the Shared Domain is used.
login defines the username for the account that is used for
this operation. If this parameter is not defined, the username
root is used.
pass defines the password for the user account.
action defines whether users are imported or exported.
file defines the file that is used for the operation.
Example: sgImportExportUser login=admin
pass=abc123 action=export
file=c:\temp\exportedusers.ldif
-h, -help, or -? displays information on using the script.
sgInfo
SG_ROOT_DIR
FILENAME
[fast]
[-nolog]
[-client]
[-h|-help|-?]
Creates a ZIP file that contains copies of configuration files and
the system trace files. The resulting ZIP file is stored in the
logged in user’s home directory. The file location is displayed on
the last line of screen output. Provide the generated file to
support for troubleshooting purposes.
SG_ROOT_DIR Security Management Center installation
directory.
FILENAME name of output file.
-nolog extended log server information is NOT collected.
-client coll
ects traces only from t
he Management Client.
-h, -help, or -? displays information on using the script.
Table A.1 Security Management Center Command Line Tools (Continued)
Command Description