Hi All,
I want to disable telnet on the startup of solaris 8-10 but still wants for a standby purposes. In case I need to troubleshoot ssh, I can connect thru telnet.
Most solution on the internet is to permanently removed it.
Best Regards,
itik
Hi All,
I want to disable telnet on the startup of solaris 8-10 but still wants for a standby purposes. In case I need to troubleshoot ssh, I can connect thru telnet.
Most solution on the internet is to permanently removed it.
Best Regards,
itik
actually, it's disabled even if you reboot.
For Solaris 10 and newer:
svcadm disable telnet
svcadm enable -t telnet
jilliagre - that will only disable in sol10.
for sol8-9, you will have to edit the /etc/inetd.conf. comment out the link that starts telnet. restart inetd daemon.
Didn't I mention that point in my posting ?
Not restarting inetd would be a better way to comply with the OP request who, as far as I understand, want telnet to be available but not to start at next reboot.
A bad solution to this might be to change the services file to put telnet on a different port. Otherwise, yes, on older versions, changing the inetd and passing it a HUP would be better.
Alternately you could have a 2nd SSH daemon with separate config listening on another port that only allows connection from 1 or more IP addresses for troubleshooting.