Click to See Complete Forum and Search --> : /etc/inetd.conf
ICEMAN7
04-05-2002, 05:12 PM
I'm using RH7.1 and I can't find the Internet Service daemon at /etc/inetd.conf so I can see what services are running.
Is it called something else or does it have an equivalent in RH 7.1??
:confused:
scanez
04-05-2002, 05:18 PM
RedHat uses xinetd, check the files in /etc/xinetd.d
ICEMAN7
04-05-2002, 05:25 PM
I don't think thats it.
In the /etc/xinetd.d directory there is only 1 file called 'rsync'. When I view the contents of this file it says nothing about running services...
Any other ideas as I would not have a clue...
To see what programs are running, just run this:
ps ax|more
- when in more, hit enter to scroll down a line. That will list all running programs on the system..
To see if inetd is even runnign at all, use:
ps ax|grep inetd
mychl
04-09-2002, 11:54 AM
what you have to do is make another file to go in /etc/xinetd.d directory.
That's the way xinet works, it looks in /etc/xiniet.d for a script for EACH service.
Here is an example script, this one is for SWAT.
# default: off
# description: SWAT is the Samba Web Admin Tool. Use swat \
# to configure your Samba server. To use SWAT, \
# connect to port 901 with your favorite web browser.
service swat
{
port = 901
socket_type = stream
wait = no
only_from = 127.0.0.1
user = root
server = /usr/sbin/swat
log_on_failure += USERID
disable = no
So make a file for whatever service you want to run...