To disable telnet for the whole server, go into /etc/xinetd.conf

Where you see:

service telnet
{
     socket_type     = stream
     protocol        = tcp
     wait            = no
     user            = root
     server          = /usr/sbin/virtuald
     server_args     = /usr/sbin/in.telnetd
}

Add in this below server_args:
        disable         = yes

to make:
service telnet
{
     socket_type     = stream
     protocol        = tcp
     wait            = no
     user            = root
     server          = /usr/sbin/virtuald
     server_args     = /usr/sbin/in.telnetd
}

Then restart xinetd to get the conf changes and telnet should no longer
work.

Bill.

----- Original Message -----
From: "Ana Paula" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 29, 2002 11:31 PM
Subject: Stop Telnet service


>
> Hi all !
>
> Is possible stop telnet service?
> I want have only ssh working in a virtual service.
>
> Thanks!
> --
> Ana Paula <[EMAIL PROTECTED]>

------------------------- The freeVSD Support List --------------------------
Subscribe:   mailto:[EMAIL PROTECTED]?body=subscribe%20freevsd-support
Unsubscribe: mailto:[EMAIL PROTECTED]?body=unsubscribe%20freevsd-support
Archives:    http://freevsd.org/support/mail-archives/freevsd-support
-----------------------------------------------------------------------------

Reply via email to