why not any inetd.conf in my Linux ???

why not any inetd.conf in my Linux ???

Post by jeff l » Thu, 28 Feb 2002 01:02:37



HI, All

I try to modified the inetd.conf, but i can not find it in my computer

The version of my RedHat is the following:



20000731 (Red Hat Linux 7.1 2.96-85)) #1 Fri Jun 8 15:05:56 EDT 2001

if I try to find the inetd.conf, i only get the xinetd.conf file


-rw-r--r--    1 root     root          289 Aug 29 16:20 xinetd.conf

#
# Simple configuration file for xinetd
#
# Some defaults, and include /etc/xinetd.d/

defaults
{
        instances               = 60
        log_type                = SYSLOG authpriv
        log_on_success          = HOST PID
        log_on_failure          = HOST
        cps                     = 25 30

Quote:}

includedir /etc/xinetd.d



total 68
-rw-r--r--    1 root     root          297 Aug 29 16:20 chargen
-rw-r--r--    1 root     root          317 Aug 29 16:20 chargen-udp
-rw-r--r--    1 root     root          297 Aug 29 16:20 daytime
-rw-r--r--    1 root     root          317 Aug 29 16:20 daytime-udp
-rw-r--r--    1 root     root          289 Aug 29 16:20 echo
-rw-r--r--    1 root     root          308 Aug 29 16:20 echo-udp
-rw-r--r--    1 root     root          318 Feb 27  2001 finger
-rw-r--r--    1 root     root          344 Apr  3  2001 linuxconf-web
-rw-r--r--    1 root     root          259 Feb 27  2001 ntalk
-rw-r--r--    1 root     root          361 Feb  5  2001 rexec
-rw-r--r--    1 root     root          378 Feb  5  2001 rlogin
-rw-r--r--    1 root     root          431 Feb  5  2001 rsh
-rw-r--r--    1 root     root          317 Sep 30  2000 rsync
-rw-r--r--    1 root     root          247 Feb 27  2001 talk
-rw-r--r--    1 root     root          305 Oct  2 16:28 telnet
-rw-r--r--    1 root     root          321 Aug 29 16:20 time
-rw-r--r--    1 root     root          317 Aug 29 16:20 time-udp

if i want to add new services or remove the services to my machine,
for instance i want to add the ftp service, block the telnet service,
which file should i change ????

Thank you many much

Jeff

 
 
 

why not any inetd.conf in my Linux ???

Post by Richard Pit » Thu, 28 Feb 2002 02:07:20


As of RH7.2 it seems that the change to xinetd has been made complete

xinetd is the new - better, cleaner, brighter, improved version of inetd

richard

--
Richard C. Pitt   C.E.O. Belcarra Messaging Corp.

Embedded Linux Systems: Design, Creation, Integration
Specializing in USB, Flash, and all things TCP/IP


> HI, All

> I try to modified the inetd.conf, but i can not find it in my computer

> The version of my RedHat is the following:



> 20000731 (Red Hat Linux 7.1 2.96-85)) #1 Fri Jun 8 15:05:56 EDT 2001

> if I try to find the inetd.conf, i only get the xinetd.conf file


> -rw-r--r--    1 root     root          289 Aug 29 16:20 xinetd.conf

> #
> # Simple configuration file for xinetd
> #
> # Some defaults, and include /etc/xinetd.d/

> defaults
> {
> instances               = 60
>         log_type                = SYSLOG authpriv
>         log_on_success = HOST PID
>         log_on_failure = HOST
> cps = 25 30
> }

> includedir /etc/xinetd.d



> total 68
> -rw-r--r--    1 root     root          297 Aug 29 16:20 chargen
> -rw-r--r--    1 root     root          317 Aug 29 16:20 chargen-udp
> -rw-r--r--    1 root     root          297 Aug 29 16:20 daytime
> -rw-r--r--    1 root     root          317 Aug 29 16:20 daytime-udp
> -rw-r--r--    1 root     root          289 Aug 29 16:20 echo
> -rw-r--r--    1 root     root          308 Aug 29 16:20 echo-udp
> -rw-r--r--    1 root     root          318 Feb 27  2001 finger
> -rw-r--r--    1 root     root          344 Apr  3  2001 linuxconf-web
> -rw-r--r--    1 root     root          259 Feb 27  2001 ntalk
> -rw-r--r--    1 root     root          361 Feb  5  2001 rexec
> -rw-r--r--    1 root     root          378 Feb  5  2001 rlogin
> -rw-r--r--    1 root     root          431 Feb  5  2001 rsh
> -rw-r--r--    1 root     root          317 Sep 30  2000 rsync
> -rw-r--r--    1 root     root          247 Feb 27  2001 talk
> -rw-r--r--    1 root     root          305 Oct  2 16:28 telnet
> -rw-r--r--    1 root     root          321 Aug 29 16:20 time
> -rw-r--r--    1 root     root          317 Aug 29 16:20 time-udp

> if i want to add new services or remove the services to my machine,
> for instance i want to add the ftp service, block the telnet service,
> which file should i change ????

> Thank you many much

> Jeff


 
 
 

why not any inetd.conf in my Linux ???

Post by Francis Litteri » Thu, 28 Feb 2002 02:31:30



> I try to modified the inetd.conf, but i can not find it in my computer

> The version of my RedHat is
...
> 7.1

RH7.1 uses xinetd.  See "man xinetd" and the files

        /etc/xinetd.conf
        /etc/xinetd.d/*
--
Francis Litterio

 
 
 

why not any inetd.conf in my Linux ???

Post by David Elvekj » Thu, 28 Feb 2002 21:57:39


Take a look at 'man chkconfig'

'chkconfig --list' shows you runlevel information and xinetd information.

E.g. you want to enable telnet, simply type 'chkconfig telnet on'