Purpose
Runs a specified batch file.
Syntax and Description
acfsutil sec batch -h
acfsutil sec batch batch_file
acfsutil
sec
batch
-h
displays help text and exits.
Table 16-51 contains the options available with the acfsutil
sec
batch
command.
Table 16-51 Options for the acfsutil sec batch command
Option | Description |
---|---|
|
Specifies an existing batch file name. The batch file contains a list of |
The batch file can only contain security realm management commands. Interactive commands are not recommended. The acfsutil
sec
admin
add
, acfsutil
sec
admin
password
, and acfsutil
sec
init
commands are not supported in the batch file. Also, other acfsutil
commands, such as acfsutil
encr
commands, are not allowed in the batch file. If a command in the batch file fails, subsequent commands in the batch file are not run.
The following are examples of commands that can be in a batch file:
acfsutil sec realm create my_realm1 -m /mnt1 -e off acfsutil sec realm create my_realm2 -m /mnt2 -e off
Only a security administrator can run this command. When the command is run, the administrator is prompted once for a password.
Examples
The following example shows the use of the acfsutil
sec
batch
command.