Originally posted by: SystemAdmin
/etc/inetd.conf only controls which network based services are available via the /usr/sbin/inetd daemon.
If enabled, the netstat entry in inetd.conf allows a REMOTE user to run the netstat command on your system by connecting to TCP port 15. (as defined by the /etc/services file).
You can (and should) disable remote netstat execution via the inetd.conf file, but the contents of that file have no bearing on whether or not you can run "netstat" locally. If you want to restrict the command itself, you could work with the permissions of the file, perhaps making it root executable only. But allowing netstat for local users shouldn't be a security risk for most environments.
If you have edited the inetd.conf and can still run netstat remotely, it may be that you didn't restart inetd after you made the change.
#AIX-Forum