Wednesday, 28 November 2012

Enabling Telnet in Solaris

The following are the steps to enable telnet in Solaris 10

1) inetadm  -M tcp_wrappers=true

2) svcadm refresh inetd

3) inetadm -l telnet |grep tcp_wrappers

4) svcprop -p defaults inetd

5) svccfg -s inetd setprop defaults/tcp_wrappers=true

6) svcadm refresh inetd

7) inetadm -m telnet tcp_wrappers=TRUE

8) svcadm enable  telnet

9) #cat /etc/hosts.allow
    in.telnetd: <IP>

10) bash-3.00# cat /etc/hosts.deny
    in.telnetd: ALL

4 comments: