How to Validate the rules File
The check script is in the Solaris_Solaris_version/Misc/jumpstart_sample directory on the Solaris Software DVD or the Solaris Software
1 – CD.
Ensure that the check script is located
in the JumpStart directory.
The check script is in the Solaris_Solaris_version/Misc/jumpstart_sample directory on the Solaris 10 Software DVD or on the Solaris Software
- 1 CD.
Change to the JumpStart directory.
Run the check script to validate
the rules file.
$ ./check -p path -r filename
Validates the rules by using the check script from the Solaris 10 software image instead
of the check script from the system you are using. path is the image on a local disk or a mounted on the Solaris
DVD or a Solaris Software - 1 CD.
Use this option
to run the most recent version of check if your system
is running a previous version of Solaris.
Specifies a rules file other than the
file that is named rules. Using this option, you can
test the validity of a rule before you integrate the rule into the rules file.
As the check script runs, the script
reports on the validity of the rules file and each profile.
If no errors are reported, the script generates the following:
The custom JumpStart configuration is ok
Ensure that root owns
the rules.ok file and that the permissions are set to