Steps to enable root login for ssh and disable telnet on Solaris,
- enable root login for ssh by editing the file vi /etc/ssh/sshd_config.
Change “PermitRootLogin no” entry to “PermitRootLogin yes”
- Restart ssh,
svcadm restart svc:/network/ssh:default
- Disable telnet,
svcadm disable telnet