[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


13    Security Integration Architecture

This chapter describes the Security Integration Architecture (SIA) for Digital UNIX. The chapter discusses the following topics:


[Return to Library] [Contents] [Previous Chapter] [Next Section] [Next Chapter] [Index] [Help]


13.1    SIA Overview

All security mechanisms that run on the Digital UNIX operating system run under the Security Integration Architecture (SIA) layer. The SIA allows you to layer various local and distributed security authentication mechanisms onto Digital UNIX with no modification to the security-sensitive Digital UNIX commands, such as login, su, and passwd. The SIA isolates the security-sensitive commands from the specific security mechanisms, thus eliminating the need to modify them for each new security mechanism.

Any time a security mechanism is installed or deleted, the SIA is involved. You do not need to be concerned about the SIA layer if you do not install security products. Each time that a security-sensitive command is invoked, the SIA layer serves as an interface to code that depends upon security mechanisms.

Figure 13-1: Security Integration Architecture


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


13.2    Supported Security Configurations

The Digital UNIX operating system currently provides standard Berkeley security (BASE), which is limited to /etc/passwd local security with NIS extensions, and the optional enhanced security (ENHANCED), which includes enhanced password features and audit capability.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


13.3    matrix.conf Files

The security configuration file that selects the appropriate installed security mechanism is the matrix.conf file. The system is provided with a default base (BSD) security matrix.conf file (/etc/sia/bsd_matrix.conf) and after the enhanced security subset is installed, an enhanced security matrix.conf file /etc/sia/OSFC2_matrix.conf). Each layered security product provides its own matrix.conf file. The SIA layer looks for the matrix.conf file that is linked to the appropriate configuration file.

Note

Do not edit the matrix.conf file. The system administrator should only relink matrix.conf files.

Example 13-1 shows the default BSD matrix.conf (/etc/sia/bsd_matrix.conf) file:

Example 13-1: Default /etc/sia/bsd_matrix.conf File

#
# sia matrix configuration file (BSD only)
#
siad_init=(BSD,libc.so)
siad_chk_invoker=(BSD,libc.so)
siad_ses_init=(BSD,libc.so)
siad_ses_authent=(BSD,libc.so)
siad_ses_estab=(BSD,libc.so)
siad_ses_launch=(BSD,libc.so)
siad_ses_suauthent=(BSD,libc.so)
siad_ses_reauthent=(BSD,libc.so)
siad_chg_finger=(BSD,libc.so)
siad_chg_password=(BSD,libc.so)
siad_chg_shell=(BSD,libc.so)
siad_getpwent=(BSD,libc.so)
siad_getpwuid=(BSD,libc.so)
siad_getpwnam=(BSD,libc.so)
siad_setpwent=(BSD,libc.so)
siad_endpwent=(BSD,libc.so)
siad_getgrent=(BSD,libc.so)
siad_getgrgid=(BSD,libc.so)
siad_getgrnam=(BSD,libc.so)
siad_setgrent=(BSD,libc.so)
siad_endgrent=(BSD,libc.so)
siad_ses_release=(BSD,libc.so)
siad_chk_user=(BSD,libc.so)

Example 13-2 shows the default enhanced security matrix.conf (/etc/sia/OSFC2_matrix.conf) file:

Example 13-2: Default /etc/sia/OSFC2_matrix.conf File

siad_init=(BSD,libc.so)
siad_chk_invoker=(OSFC2,libsecurity.so)
siad_ses_init=(OSFC2,libsecurity.so)
siad_ses_authent=(OSFC2,libsecurity.so)
siad_ses_estab=(OSFC2,libsecurity.so)
siad_ses_launch=(OSFC2,libsecurity.so)
siad_ses_suauthent=(OSFC2,libsecurity.so)
siad_ses_reauthent=(OSFC2,libsecurity.so)
siad_chg_finger=(OSFC2,libsecurity.so)
siad_chg_password=(OSFC2,libsecurity.so)
siad_chg_shell=(OSFC2,libsecurity.so)
siad_getpwent=(BSD,libc.so)
siad_getpwuid=(BSD,libc.so)
siad_getpwnam=(BSD,libc.so)
siad_setpwent=(BSD,libc.so)
siad_endpwent=(BSD,libc.so)
siad_getgrent=(BSD,libc.so)
siad_getgrgid=(BSD,libc.so)
siad_getgrnam=(BSD,libc.so)
siad_setgrent=(BSD,libc.so)
siad_endgrent=(BSD,libc.so)
siad_ses_release=(OSFC2,libsecurity.so)
siad_chk_user=(OSFC2,libsecurity.so)

Example 13-3 shows the default DCE matrix.conf (/etc/sia/dce_matrix.conf) file:

Example 13-3: Default /etc/sia/dce_matrix.conf File


 
# sia matrix configuration file
 
siad_init=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_chk_invoker=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_init=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_authent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_estab=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_launch=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_suauthent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_reauthent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_chg_finger=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_chg_password=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_chg_shell=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_getpwent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_getpwuid=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_getpwnam=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_setpwent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_endpwent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_getgrent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_getgrgid=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_getgrnam=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_setgrent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_endgrent=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_ses_release=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so) siad_chk_user=(DCE,/usr/shlib/libdcesiad.so),(BSD,libc.so)

See the matrix.conf(4) reference page for more information.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


13.4    Installing a Layered Security Product

Detailed instructions for installing layered security products are provided by the layered product. In general, you install a layered security product as follows:

  1. Install the layered security product as described in the product's installation procedure.

  2. Change directory to /etc/sia.

  3. Link the /etc/sia/matrix.conf file to the new matrix.conf file provided by the layered product using the ln -sf new_matrix.conf matrix.conf command.

  4. Reboot your system.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Section] [Next Chapter] [Index] [Help]


13.5    Installing Multiple Layered Security Products

The Digital UNIX operating system supports the installation of multiple security products.

Detailed instructions for installing multiple layered security products is provided by the layered products. In general, you install multiple layered security products as follows:

  1. Bring the system down to single-user mode using the /usr/sbin/shutdown now command.

  2. Install the first layered security product as described in the product's installation procedure.

  3. Install the subsequent layered security product, as described in the product's installation procedure.

  4. Change directory to /etc/sia.

  5. Link the /etc/sia/matrix.conf file to the new matrix.conf file provided by the layered product using the ln -sf new_matrix.conf matrix.conf command. The product's installation procedure will provide details about the new matrix.conf files provided.

  6. Reboot your system.


[Return to Library] [Contents] [Previous Chapter] [Previous Section] [Next Chapter] [Index] [Help]


13.6    Removing Layered Security Products

To remove a layered security product from your system, perform the following steps:

  1. Verify that the installed layered security product has not changed the BSD security mechanism or associated files. This information is usually described in the documentation that came with the product.

    Note

    If the BSD security mechanism cannot be restored (for example, the /etc/passwd file has been deleted), then the operating system must be reinstalled and reconfigured.

  2. Bring the system down to single-user mode using the /usr/sbin/shutdown now command.

  3. Remove the link to the layered security product's matrix.conf file using the rm /etc/sia/matrix.conf command (the file that is linked is not removed).

  4. Link the /etc/sia/matrix.conf file to the appropriate matrix.conf file. For example, ln -s /etc/sia/bsd_matrix.conf /etc/sia/matrix.conf.

  5. Reboot your system.

Example 13-4 shows how to delete a layered security product and return to BASE security.

Example 13-4: Deleting a Layered Security Product

/usr/sbin/shutdown now
/sbin/rm /etc/sia/matrix.conf
/sbin/ln -s /etc/sia/bsd_matrix.conf /etc/sia/matrix.conf
/usr/sbin/reboot