Solaris 11 set up root user login
solaris 11 setup root login
Generally speaking, after installing solaris 11, the system forbids root user to log in directly for security reasons.
If you want ssh to log in directly as root, you need to modify the configuration file:
#vi /etc/user_attr
Then change type=role to type=normal
Of course, ssh does not allow root user login by default, so you need to set ssh to allow root login.
#vi /etc/ssh/sshd_config
Modify PermitRootLogin no to PermitRootLogin yes
Restart the SSH service:
# svcadm restart ssh
Next time you can log in as root with ssh