How do I verify that service is turned on in xinetd under Fedora or Red Hat Linux?

Posted on in Categories last updated June 21, 2006

Q. I am running Fedora Linux version 4.0 server. Couple of services run under xinetd. Now how do I verify that service is turned on in xinetd?

A. You can use command line tool called chkconfig or text based GUI tool called ntsysv. For example see if service foo:

# chkconfig –list foo

Output:

foo          off

As you see service foo is off, to turn on type command:

# chkconfig foo on
# chkconfig –list foo

Output:

foo           on

It is recommended that you use ntsysv, which is graphical tool and works on remote ssh session.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment