You can define a different host name or domain name for
interactive users based on their security label. Implement these names
by creating a separate resolver configuration file for each security
label.
Procedure
Use the same directory structure under the /etc directory
as follows:
- Log in as a file system administrator with each security
label.
- Create a copy of your current resolver configuration file
in each security label directory using the following command:
cp /etc/resolv.conf /etc/seclbl/rsv.cfg
- Edit these new files as follows:
- Change the TCPIPJOBNAME statement to the appropriate
stack job name.
- Change the HOSTNAME statement to the appropriate host
name.
- Change the DOMAINORIGIN or first SEARCH statement to
the appropriate domain for this security label.
- Replace your current resolver configuration file with a
symbolic link as follows:
ln -s "$SYSSECR/rsv.cfg" /etc/resolv.conf