Global Preferences Properties Files

The following file contains the default system preferences for the System Web Interface. These are mostly accessibility properties:

/usr/lib/webui/htdocs/solaris/preferences/global-prefs.json

Do not modify this file directly. Any modifications will be overwritten when the system is upgraded or as a result of running pkg fix.

To customize the preferences in global-prefs.json, deliver your customizations in one or more files in the following location:

/usr/lib/webui/htdocs/solaris/site/preferences

The files can have any names, but they must be in the same format as the global-prefs.json file and have the .json extension. See the webui-preferences-json(5) man page. Files in the htdocs/solaris/site/preferences directory are loaded after files in the htdocs/solaris/preferences directory. Files in the htdocs/solaris/site/preferences directory might be loaded in any order, so ensure that no property is set to different values in different files.

Create an Image Packaging System (IPS) package to deliver files to the htdocs/solaris/site/preferences directory. Installing a custom package is the easiest way to preserve your preferences across system upgrades. See Packaging and Delivering Software With the Image Packaging System in Oracle Solaris 11.4.