Solaris 11 and others?
$ su -
Password:
Roles can only be assumed by authorized users
su: Sorry
fix:
vi /etc/user_attr
USERNAME::::roles=root
Solaris equilalent of Linux /etc/security/access.conf
/etc/users.allow
In ldap environments: To change ldap password on Solaris:
kpasswd
Change local account passwords:
passwd -r files