On Oracle Solaris 11, you need to change the root role into a user as you cannot directly log in as root user.
To change root role into a user
% su - root
# roles admin
root
# usermod -R " " admin
# rolemod -K type=normal root
# getent user_attr root
root::::auths=solaris.*;profiles=All;audit_flags=lo\ :no;lock_after_retries=no;min_label=admin_low;clearance=admin_high
If the type
keyword is missing in the output or is equal to normal, the account is not a role.
# userattr type root
If the output is empty or lists normal, the account is not a role.