> So these privileges are given to the OpenSolaris user by default? It
> sounds like it.
By default, the user created during OpenSolaris install is assigned the
Primary Administrator profile. The Primary Administrator profile runs
all commands as root via this entry in /etc/security/exec_attr:
Primary Administrator:suser:cmd:::*:uid=0;gid=0
... which means that anything you pfexec will run as root. (I also think
this means the dladm entries in /etc/security/exec_attr aren't used in
this case.)
> 1. Start a privileged shell.
>
> user at opensolaris:- $ pfexec bash
>
> And then the user is presumably in the bash shell with the "#" prompt.
>
> The remaining command syntax does not include pfexec. It just looks like:
>
> # dladm show-link
> <output>
>
> and
>
> # ifconfig -a
> <output>
>
> I assume this is correct syntax after pfexec bash?
As above, you're basically running as root, so sure.
--
meem