Re-add "Primary Administrator" in Solaris

From Aram's Wiki
Revision as of 16:39, 7 June 2018 by Aram (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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