1. Introduction to ONC+ Technologies
4. Programmer's Interface to RPC
5. Advanced RPC Programming Techniques
6. Porting From TS-RPC to TI-RPC
7. Multithreaded RPC Programming
8. Extensions to the Sun RPC Library
B. RPC Protocol and Language Specification
F. Writing a Port Monitor With the Service Access Facility (SAF)
Restricting Access to the System
Port Monitor Process IDs and Lock Files
Changing the Service Environment: Running doconfig()
Port Monitor Administrative File
Per-Service Configuration Files
Port Monitor Administrative Interface
SAC Administrative File _sactab
Port Monitor Administrative File _pmtab
SAC Administrative Command sacadm
Port Monitor Administrative Command pmadm
Monitor-Specific Administrative Command
Port Monitor/Service Interface
Configuration Files and Scripts
Interpreting Configuration Scripts With doconfig()
Per-Port Monitor Configuration Files
Per-Service Configuration Files
Printing, Installing, and Replacing Configuration Scripts
Per-System Configuration Scripts
Per-Port Monitor Configuration Scripts
Per-Service Configuration Scripts
The service access facility (SAF) generalizes the procedures for service access so that login access on the local system and network access to local services are managed in similar ways. Under the SAF, systems can access services using a variety of port monitors, including ttymon, the listener, and port monitors written expressly for a user's application.
The manner in which a port monitor observes and manages access ports is specific to the port monitor and not to any component of the SAF. Users can therefore extend their systems by developing and installing their own port monitors. This ability to extend the SAF is one of its important features.
Relative to the SAF, a service is a process that is started. No restrictions are on the functions a service can provide.
The SAF consists of a controlling process, the service access controller (SAC), and two administrative levels corresponding to two levels in the supporting directory structure. The top administrative level is concerned with port monitor administration, the lower level with service administration.
From an administrative point of view, the SAF consists of the following components:
The SAC
A per-system configuration script
The SAC administrative file
The SAC administrative command sacadm
Port monitors
Optional per-port monitor configuration scripts
An administrative file for each port monitor
The administrative command pmadm
Optional per-service configuration scripts