dtrace is giving following error

Hi Alldtrace is giving following error.dtrace -p 28519dtrace: failed to initialize dtrace: DTrace requires additional privilegesI am running it as a normal user.If you have any solution to this problem please let me knowThanks in advancekanki
[291 byte] By [Kanki] at [2007-11-26 11:01:37]
# 1

Dtrace provides considerable information about a system, like all data in and out (including passwords and other sensitive data). By default, only root can run it (just like truss).

You can give other users privileges to run dtrace if necessary, but that is not the default.

--

Darren

Darren_Dunham at 2007-7-7 3:15:23 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
Actually any user can truss their own processes, as long as they don't setuid to another user.. .7/M.
mAbrante at 2007-7-7 3:15:23 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3
Thanks DarrenI will try thatRegardsKanki
Kanki at 2007-7-7 3:15:23 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4

> Actually any user can truss their own processes, as

> long as they don't setuid to another user..

Sorry, just talking in general... Wasn't the greatest example.

Yes, truss, kill, pargs and other similar things work only on processes that you have privilege over (by whatever means).

Dtrace needs a separate privilege setup because the probes won't necessarily be limited to a single process. So it has a different model.

The security chapter on dtrace has (a lot) more information...

http://docs.sun.com/app/docs/doc/817-6223/6mlkidln0?a=view

--

Darren

Darren_Dunham at 2007-7-7 3:15:23 > top of Java-index,Solaris Operating System,Solaris 10 Features...