On Tue, Jan 13, 2009 at 03:02:25PM -0800, Robert Bauer wrote:
> As workaround I did the following as root user:
> chmod +s /usr/sbin/dtrace
> chmod +s /usr/sbin/amd64/dtrace
> 
> Now I can use the Dtrace for PHP directly in Netbeans as normal user.

Adding setuid is a Bad Idea (TM).  Let's just hope your regular users don't
discover:

        #!/usr/sbin/dtrace -ws

        /* d00d - I can panic the box */

        :::BEGIN
        {
                panic();
        }

I suggest using the profile change suggested later.

Dan
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to