Open System Services Management and Operations Guide (G06.30+, H06.08+, J06.03+)

See the rshd(8) reference page either online or in the Open System Services Shell and Utilities
Reference Manual for information about setting up the rshd process. See “Managing Security”
(page 216), for more information about setting up aliases and initial working directories.
rexecd
To configure the rexecd process:
1. Ensure that the /etc/services file is accessible by entering:
cd /etc
ls -al
If the /etc/services file is not listed, follow the directions in “OSS Sockets Applications
(page 125) to make it accessible, then continue.
2. Add a port specification for the exec service to the /etc/services file.
3. Add the following entry to the configuration file used for the inetd process:
exec stream tcp nowait super.super /bin/rexecd
4. Stop and restart inetd. Alternatively, you can force inetd to reread its configuration file,
as described in the inetd(8) reference page either online or in the Open System Services
Shell and Utilities Reference Manual.
You must also configure the OSS environment for remote users of the rexecd server. Each user
of the rexecd server must have either a NonStop operating system user ID and login name or an
alias configured through Safeguard. If an alias is used, the user must also have an initial working
directory (specified by the Safeguard INITIAL-DIRECTORY attribute) defined for it in the OSS file
system.
See the rexecd(8) reference page either online or in the Open System Services Shell and Utilities
Reference Manual for more information about the rexecd process.
OSS Sockets Applications
If your site runs applications that use OSS sockets:
You should confirm the existence of a $ZTC0 TCP/IP process or define a substitute for that
process. Unless an AF_INET or AF_INET6 sockets application program is coded to select
its own transport-provider process, it attempts to use the $ZTC0 default process and fails if
there is no $ZTC0 transport-provider process; defining a substitute for the default avoids this
situation.
To set up an alternative to $ZTC0 if your node does not run a $ZTC0 process:
1. Determine the name of the TCP/IP process that is used instead and create a NonStop
operating system DEFINE for it. For example:
DEFINE =TCPIP^PROCESS^NAME, FILE $B018
2. Add this DEFINE to the TACLLOCL file that is executed whenever a TACL session is started.
3. If your users do not always login through TACL, follow the equivalent procedure for the
/etc/profile file to add the DEFINE to all OSS shells when they are started.
You must configure network services that such applications might use.
You configure the necessary network services by making AF_INET or AF_INET6 sockets
configuration files available in the OSS file system. To prevent confusion and conflicts between
servers, use and maintain the Guardian version of the AF_INET or AF_INET6 sockets
configuration files for both environments. Set up the Guardian files for use from the OSS
environment by creating symbolic links between the Guardian files and the /etc directory.
Check that the files or links do not already exist in the /etc directory, then create them if
necessary:
cd /etc
ls -al
...
Configuration Files 125