How to install and setup an example service with xinetd on RHEL 8 Linux -

Xinetd, or the Extended Internet Services Daemon, is a so-called super-server. You can configure it to listen in the place of many services, and start the service that should handle an incoming request only when there it actually arrives to the system - thus saving resources. While this may not seem to be a big deal on a system where traffic is relatively permanent, this service in the front of another approach does have some neat advantages, like logging or access control.

This is a companion discussion topic for the original entry at

Thanks! Good introduction! Just wanted to point out that the examining the logs might be better done with

grep /var/log/messages -e xinetd

instead of

cat /var/log/messages | grep xinetd

In which case you don’t process whole the log file twice and also use grep(1) in the way it was intendent.

Hi Oleg_Sergiyuk,

Welcome to our forums.

Thanks for the constructive comment, you are perfectly right, your solution uses less cycles. Also, much more elegant.