Difference between revisions of "Re-add "Primary Administrator" in Solaris"

From Aram's Wiki
Jump to: navigation, search
(Created page with " # As root: echo 'Primary Administrator:suser:cmd:::*:uid=0;gid=0' >> /etc/security/exec_attr echo 'Primary Administrator:::All administrative tasks:auths=solaris.*;solari...")
 
Line 1: Line 1:
 +
[[Category:Solaris]]
 +
 
  # As root:  
 
  # As root:  
 
  echo 'Primary Administrator:suser:cmd:::*:uid=0;gid=0' >> /etc/security/exec_attr  
 
  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  
 
  echo 'Primary Administrator:::All administrative tasks:auths=solaris.*;solaris.grant;help=RtPriAdmin.html' >> /etc/security/prof_attr  
 
  usermod -P "Primary Administrator" aram
 
  usermod -P "Primary Administrator" aram

Revision as of 13:22, 7 June 2018


# 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