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...")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
# As root:  
+
[[Category:Solaris]]
 +
 
 +
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

Latest revision as of 16:39, 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