The Service Access Facility

Activities of the SAC daemon

Once the port monitors are running, the SAC daemon polls them periodically for status information. If the SAC daemon does not receive a response during a poll (such as ENABLED) from a particular port monitor, it assumes that the monitor is not running. If it should be running, the SAC daemon assumes it has failed and takes appropriate recovery action. The SAC daemon also restarts a failed port monitor if a non-zero restart count was specified for the port monitor when it was created.

Configuration scripts for individual systems

If you want to customize the environment for services on your system, write a system-specific script that will be interpreted by the SAC daemon when it is started (which occurs when the system enters multi-user mode). Write your script in /etc/saf/_sysconfig. This is an empty file delivered with the system for this purpose.

See ``Configuration scripts for systems and port monitors'' for more information.

Configuration scripts for individual port monitors

If you want to customize the environment for a given port monitor (and the services available through the access points for which it is responsible), you can write a configuration script for that particular port monitor. This script may override any defaults provided by a system-specific configuration script.

A port monitor-specific configuration script is interpreted when the relevant port monitor is started. (Port monitors are started after the SAC daemon has been started and has run its own configuration script, /etc/saf/_sysconfig.)

See ``Configuration scripts for systems and port monitors'' for more information.

Configuration scripts for individual services

You also have the option of writing service-specific configuration files. This capability is useful if you want to override the default values provided by the configuration files for your system and port monitor whenever a particular service is invoked. For example, you may want to have a set of STREAMS modules other than the default set used whenever a particular service is accessed.

As another example, your system may offer a service that requires special privileges not available to general users. To avoid having to give your users all possible privileges, you can write a service-specific script that will grant or limit them when the service is accessed through a particular port monitor.

See ``Installing (or replacing) configuration scripts for specific services'' for more information.

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004