This entry starts the rexecd daemon when required. This daemon executes a command from a remote system, once the connection has been authenticated. The exec service is used to execute a command sent from a remote server. The username and passwords are passed over the network in clear text and therefore insecurely. Unless required the rexecd daemon will be disabled. This function, if required, should be facilitated through SSH.
In /etc/inetd.conf, comment out the exec entry- chsubserver -r inetd -C /etc/inetd.conf -d -v 'exec' -p 'tcp6'