Where's RH's (/etc/)inetd.conf

Where's RH's (/etc/)inetd.conf

Post by eas-.. » Sun, 03 Nov 2002 01:30:20



I want to study/understand linux networking and:
http://www.tldp.org/HOWTO/Net-HOWTO/x635.html
is part of my 'journey'.

It nicely explains about  the files: /etc/services , /etc/inetd.conf .

On my redhat 6.2 installation I found and confirmed the contents
of /etc/services , but can't find any */inetd.conf .
(although my Slakware instalation has one).

How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

Thanks for any pointers.

-- Chris Glur.

 
 
 

Where's RH's (/etc/)inetd.conf

Post by Lew Pitch » Sun, 03 Nov 2002 01:46:40


On 01 Nov 2002 16:30:20 GMT, in comp.os.linux.networking,


>How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

They don't use inetd. Instead, they use a service called xinetd

Lew Pitcher, Information Technology Consultant, Toronto Dominion Bank Financial Group

(Opinions expressed are my own, not my employer's.)

 
 
 

Where's RH's (/etc/)inetd.conf

Post by Robert Lync » Sun, 03 Nov 2002 01:58:48



> I want to study/understand linux networking and:
> http://www.tldp.org/HOWTO/Net-HOWTO/x635.html
> is part of my 'journey'.

> It nicely explains about  the files: /etc/services ,
> /etc/inetd.conf .

> On my redhat 6.2 installation I found and confirmed the contents
> of /etc/services , but can't find any */inetd.conf .
> (although my Slakware instalation has one).

> How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

> Thanks for any pointers.

> -- Chris Glur.

I'm not sure that RedHat switched from inetd to xinetd with 6.2,
but they did it around then, so the answer is:

inetd, inetd.conf is GONE

xinetd works slightly differently, I use chkconfig to query the
settings of xinetd controlled services, for example, imap:

# chkconfig --list imap
imap            on

If I wanted to, I could do:

# chkconfig imap off

# chkconfig --list  imap
imap            off

(etc.)

One can also finely control the operation of the services, see:

"Access Control Using xinetd"

http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-...

for example.

HTH, Bob L.
--

 
 
 

Where's RH's (/etc/)inetd.conf

Post by Rod Smi » Sun, 03 Nov 2002 03:24:04




Quote:> I want to study/understand linux networking and:
> http://www.tldp.org/HOWTO/Net-HOWTO/x635.html
> is part of my 'journey'.

> It nicely explains about  the files: /etc/services , /etc/inetd.conf .

> On my redhat 6.2 installation I found and confirmed the contents
> of /etc/services , but can't find any */inetd.conf .
> (although my Slakware instalation has one).

> How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

Red Hat now uses xinetd, rather than inetd. Instead of /etc/inetd.conf,
you should have an /etc/xinetd.conf file and an /etc/xinetd.d directory.
In a standard RH configuration, /etc/xinetd.conf includes some default
settings and settings that cause the system to read the files in
/etc/xinetd.d, each of which provides definitions for a single server
handled by xinetd. There's more information on xinetd on its Web page,
http://www.xinetd.org.

Neither inetd nor xinetd is truly required for a basic Linux setup, and
it's conceivable that neither program is installed on your system. In
that case, neither program's configuration file(s) will be present.
These tools are the usual way to launch certain servers, though.

--

http://www.rodsbooks.com
Author of books on Linux, networking, & multi-OS configuration

 
 
 

Where's RH's (/etc/)inetd.conf

Post by William Hoope » Mon, 04 Nov 2002 13:15:18



Quote:> I want to study/understand linux networking and:
> http://www.tldp.org/HOWTO/Net-HOWTO/x635.html
> is part of my 'journey'.

> It nicely explains about  the files: /etc/services , /etc/inetd.conf .

> On my redhat 6.2 installation I found and confirmed the contents
> of /etc/services , but can't find any */inetd.conf .
> (although my Slakware instalation has one).

> How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

> Thanks for any pointers.

> -- Chris Glur.

What class of install did you do?  I don't believe inetd is installed in the
"Workstation" class installs.
Do a "rpm -qa | grep inet" and see what comes back.

--
William Hooper

All computers wait at the same speed

 
 
 

Where's RH's (/etc/)inetd.conf

Post by codfathe » Mon, 04 Nov 2002 23:53:19


[.....]

Quote:>> How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

>> Thanks for any pointers.

>> -- Chris Glur.

Redhat use xinetd.d , a directory which contains all the definitions
for the services you need. To enable a service vi the service
definition , and normally change the line disabled = yes , to no. Then
re-start the meta-service which controls all of these services,
service xinetd restart, and your daemon will be available.

codfather

 
 
 

Where's RH's (/etc/)inetd.conf

Post by William Hoope » Tue, 05 Nov 2002 01:16:15



Quote:> [.....]
> >> How does redhat 6.2 do the 'job' without a /etc/inetd.conf ?

> >> Thanks for any pointers.

> >> -- Chris Glur.

> Redhat use xinetd.d , a directory which contains all the definitions
> for the services you need. To enable a service vi the service
> definition , and normally change the line disabled = yes , to no. Then
> re-start the meta-service which controls all of these services,
> service xinetd restart, and your daemon will be available.

> codfather

For the record, RH 6.2 still used inetd not xinetd.  I just upgraded a 6.2
box last weekend.
--
William Hooper

If you're not on somebody's shit list, you're not doing anything worthwhile.

 
 
 

1. /etc/inetd.conf, /etc/xinetd.conf

Hi, folks!

I'm a Linux newbie, RH7, and I can't seem to "locate" or "find" the files,
inetd.conf and xinetd.conf on my system, and I can't find them running in
memory
(using ps auxw | grep inetd). Is it possible that they are not installed?
(i'm logged in as 'root' while doing the searching).

Any help would be GREATLY appreciated! Thanks!

2. Netscape 4.04 and ISDN

3. /etc/inetd.conf and /etc/xinetd.conf

4. Walking the symbol table

5. SOLUTIONS TO: /etc/rc.net, /etc/host.conf and 'ps' problems

6. gg like behaviour in konq

7. Problems with files '/etc/motd' and '/etc/issue'

8. Porting Linux Seminar, San Francisco 5/25

9. lilo can't find /etc/lilo.conf, even though it's there

10. 'su' and /etc/syslog.conf

11. /etc/rc: sendmail parms don't match /etc/rc.conf

12. PPP setup: 'resolv.conf' in RH 6.0

13. Redhat 7.0 no /etc/inetd.conf or /etc/services?