Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Share this Page URL

Chapter 4: Overview and customization of... > Customizing for inetd and rlogind da... - Pg. 201

4.3 Customizing for inetd and rlogind daemons Follow the following steps to customize your inetd and rlogin environment daemons. Using inetd, master of daemons The inetd daemon is a master of other daemons that execute in z/OS UNIX. The function of inetd is to listen on certain well-known network ports for a request to run one of a number of daemons. When a request is received, inetd creates a new socket for remote connection, and then fork()s a new address space and uses exec() to start the requested daemon program. The daemon started by inetd relates to the port where the request arrived. The correlation between port number and daemon is stored in configuration file /etc/inetd.conf. The daemons started by inetd include: The rlogin daemon starts a shell session for a user rlogin request. The telnet daemon starts a shell session for a user telnet request. The rexec daemon executes a single command on z/OS UNIX requested by a remote user entering a rexec command. The rsh daemon starts a shell session and runs a script generated by a remote user entering a rsh command. Customization is needed to enable inetd to run on your system. You must decide how to start it, and what RACF ID it will execute under. If you have implemented enhanced daemon security with BPX.DAEMON, you must define inetd to BPX.DAEMON and implement program control. Finally, you have to configure the relationship between the ports that inetd listens on and the daemons to be started.