Create a new administrative user in Solaris

From Aram's Wiki
Jump to: navigation, search


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