As a system administrator,
you may need to view the contents of
from time to time, to remind yourself
which services you have made available
for remote execution.
To display the
file, enter the
command with the
option, as follows:
In addition to providing an option to rxservice that allows the administrator to display /etc/rexec/services, REXEC installs a command on the server that allows a remote user to display the file. When a remote user displays the file, however, only the services available to that user are displayed.
The command on the server that allows remote users to display the services file is the rxlist command. Remote users use the standard REXEC service rquery to run rxlist remotely.
If the rxlist command is removed from the server, client users cannot determine which services are available to them for remote execution; however, they can still invoke those services, provided they already know the names of the services and have appropriate permissions.
Instructions for using rquery are described on the rexec(1bnu) manual page.