This article hasn't been updated for over 5 years. The information below may be obsolete.
How to allow root login on Solaris 11
By default, after your installation of Solaris 11 has completed, you will not be able to login directly to the console as the user "root". This is due to the fact the the super-user account is assigned as a role and not a normal user.
Here are the steps needed to enable root login as a normal user:
- Edit
/etc/ssh/sshd_configand change thePermitRootLoginto yesPermitRootLogin yes
- Edit
/etc/default/loginand comment out theCONSOLEentry, as follows:#CONSOLE=/dev/console
- Remove
;type=rolefrom the root entry in/etc/user_attr, or run:# rolemod -K type=normal root
- Restart SSH service
# svcadm restart svc:/network/ssh:default