Difference between revisions of "Create a new administrative user in Solaris"

From Aram's Wiki
Jump to: navigation, search
 
Line 1: Line 1:
 
[[Category:Solaris]]
 
[[Category:Solaris]]
 +
 +
This assumes [[Re-add "Primary Administrator" in Solaris|Primary Administrator]] profile exists.
  
 
  pfexec useradd -u 5008 -g staff -s /bin/bash -m -P 'Primary Administrator' -K 'defaultpriv=basic,dtrace_proc,dtrace_user' foo  
 
  pfexec useradd -u 5008 -g staff -s /bin/bash -m -P 'Primary Administrator' -K 'defaultpriv=basic,dtrace_proc,dtrace_user' foo  
 
  pfexec passwd -N foo
 
  pfexec passwd -N foo

Latest revision as of 16:46, 7 June 2018


This assumes Primary Administrator profile exists.

pfexec useradd -u 5008 -g staff -s /bin/bash -m -P 'Primary Administrator' -K 'defaultpriv=basic,dtrace_proc,dtrace_user' foo 
pfexec passwd -N foo