How to Enforce a Fixed Configuration for a Labeled File System
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.
This procedure helps prevent malicious or inadvertent modification of the system configuration.
Example 3-2 Making an Immutable Global Zone That Contains a Labeled File System Immutable
In this example, the administrator specifies that three labeled file systems on a system cannot be reconfigured except through the Trusted Path.
# zonecfg -z global zonecfg:global> add dataset zonecfg:global:dataset> set name=rpool/Internal zonecfg:global:dataset> set name=rpool/Restricted zonecfg:global:dataset> set name=rpool/HighlyRestricted zonecfg:global:dataset> end zonecfg:global> set file-mac-profile=fixed-configuration zonecfg:global> exit