Configuring a user as Primary Administrator in Solaris
To configure a User in Solaris 11.2 as Primary Administrator follow the below steps
Note: Primary Administrator was removed in Soalris 11.2 because its of a security concern.
/etc/user_attr sshsvc::::type=roles;lock_after_retries=no;defaultpriv=all;profiles=Primary Administrator,All
/etc/security/prof_attr.d/core-os
Primary Administrator:::Can perform all administrative tasks:auths=solaris.*,solaris.grant;help=RtPriAdmin.html
/etc/security/exec_attr.d/core-os
Primary Administrator:suser:cmd:::*:uid=0;gid=0