Q. How to tell if my Linux server is using xinetd or inetd service?
A. inetd is also known as super-server daemon and it runs on many Unix / Linux systems that manages Internet service such as ftp or pop3 or telnet.
xinetd (eXtended InterNET Daemon) is also an open-source daemon which runs on many Unix / Linux systems and manages Internet-based services such as ftp or telnet.
You can use netstat or ps command to find out if Linux / UNIX server using xinetd or inetd server:
# ps aux | egrep '[xi]netd'
OR
# netstat -tulpn | grep LISTEN | egrep '[xi]netd'
Sample output:
tcp 0 0 0.0.0.0:23 0.0.0.0:* LISTEN 8552/inetdOR
tcp 0 0 0.0.0.0:904 0.0.0.0:* LISTEN 5271/xinetdUsually,
- RHEL / CentOS / Fedora Linux runs xinetd.
- *BSD / Debian / Ubuntu Linux / Mac OS X runs inetd.
- Default inetd configuration file location /etc/inetd.conf
- Default xinetd configuration file location /etc/xinetd.conf
Featured Articles:
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- My 10 UNIX Command Line Mistakes
- Linux: 20 Iptables Examples For New SysAdmins

- 25 PHP Security Best Practices For Sys Admins
- The Novice Guide To Buying A Linux Laptop
- 10 Greatest Open Source Software Of 2009
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- Top 20 OpenSSH Server Best Security Practices
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Linux Video Editor Software
Facebook it - Tweet it - Print it -


{ 2 comments… read them below or add one }
actualy you dont have to type:
grep ‘[xi]netd’
this one should be more accurate:
grep ‘[x]inetd’
ohh.. and when you use -l (LISTEN) option of netstat … you dont have to grep for LISTEN