Difference between revisions of "Create a new administrative user in Solaris"
(Created page with " 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") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | [[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