You can customize a manifest in one of the following ways:
By specifying a subtree
Specifying an individual subtree is an efficient way to monitor changes to selected, important files, such as all files in the /etc directory.
By specifying a file name
Specifying a file name is an efficient way of monitoring particularly sensitive files, such as the files that configure and run a database application.
By using a rules file
By using a rules file to create and compare manifests gives you the flexibility to specify multiple attributes for more than one file or subtree. From the command line, you can specify a global attribute definition that applies to all files in a manifest or report. From a rules file, you can specify attributes that do not apply globally.
Before You Begin
You must assume the root role. For more information, see Using Your Assigned Administrative Rights in Securing Users and Processes in Oracle Solaris 11.4.
By specifying a subtree:
# bart create -R subtree
By specifying a file name or file names:
# bart create -I filename...
# bart create -I /etc/system /etc/passwd /etc/shadow
By using a rules file:
# bart create -r rules-file