For security reasons, sometimes you’ll want to only allow root logins from the console on your Solaris box. Next tip shows you how to do it.
Simply edit /etc/default/login and add the following line:
CONSOLE=/dev/console
This will disable rlogin or telnet as root.