makesec
Authorization
You must have modify access to the security file and read permission in the TWA_home/TWS directory from where the command must be run.
Syntax
makesec –v | –u
makesec [–verify] in_file
Comments
The makesec command compiles
the specified file and installs it as the operational security file
(../TWA_home/TWS/Security
).
If the –verify argument is specified, the file is checked for
correct syntax, but it is not compiled and installed.
Arguments
- –v
- Displays command version information only.
- –u
- Displays command usage information only.
- –verify
- Checks the syntax of the user definitions in in_file. The file is not compiled and installed as the security file.
- in_file
- Specifies the name of a file or set of files containing user definitions. Syntax checking is performed automatically when the security file is installed.
Examples
Example 1: Modifying the security file definitions - full scenario
- An editable
copy of the operational security file is created in a file named
tempsec
with the dumpsec command:dumpsec > tempsec
- The user definitions are modified with a text editor:
edit tempsec
- The file is then compiled and installed with the makesec command:
makesec tempsec
Example 2: Compiling user definitions from multiple files
userdef*
and replaces the operational
security file: makesec userdef*