Create a new administrative user in Solaris
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
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