Disable Telnet Session

Bellow this, is procedure to block/stop/disable telnet service at solaris 10

bash> vi /etc/inetd.conf
(then put comment out ‘#’ below)
#telnet stream tcp6 nowait root /usr/sbin/in.telnetd in.telnetd

(then stop and restart services)

bash> /etc/rc2.d/S72inetsvc stop
bash> /etc/rc2.d/S72inetsvc start

or

bash> /etc/init.d/inetsvc stop
bash> /etc/init.d/inetsvc start

Update:
Solaris 10 x86 updae 6, telnet was offline/disable by default

bash>cat /etc/release 
                       Solaris 10 10/08 s10x_u6wos_07b X86
           Copyright 2008 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 27 October 2008
bash>svcs |grep telnet
offline         13:08:13 svc:/network/telnet:default
Printed from: http://sysinfo.bascomp.org/solaris/block-telnet-session/ .
© 2012.

Leave a Reply