I'd like to run dtrace under my userid and not under the root account, as by 
default dtrace requires additional privileges.

according to http://docs.sun.com/app/docs/doc/817-6223/chp-sec?a=view 

dtrace needs the following added privileges:
dtrace_proc, dtrace_user, and dtrace_kernel

This is perhaps where I went wrong.

So I figured I should just add the privileges to a role and add that new role 
to my user.

roleadd -P "Process Management" debug
rolemod -K defaultpriv=basic,dtrace_kernel,dtrace_proc,dtrace_user debug

usermod -R debug username

So I log out and back in and I still can't execute dtrace.

Pointers on where I went wrong or a generic way of adding privileges to a role 
or account would be appreciated.

Thanks,

Karl
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to