Re-add "Primary Administrator" in Solaris

From Aram's Wiki
Revision as of 13:22, 7 June 2018 by Aram (talk | contribs)
Jump to: navigation, search


# As root: 
echo 'Primary Administrator:suser:cmd:::*:uid=0;gid=0' >> /etc/security/exec_attr 
echo 'Primary Administrator:::All administrative tasks:auths=solaris.*;solaris.grant;help=RtPriAdmin.html' >> /etc/security/prof_attr 
usermod -P "Primary Administrator" aram