Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone know how to enable DTrace on Solaris 10 box, based on a NIS group.

I am hoping to save some time rather than enabling Dtrace one by one for each user in the group by putting it in the /etc/user_attr.

Cheers, Muhammad

share|improve this question
up vote 0 down vote accepted

The best you can do is create a NIS map for user_attr, and then set that in all the nsswitch.conf files for each host (NB. it's not listed at all by default, even though prof_attr and auth_attr are.)

(It shouldn't take you much thought to realise why putting it in NIS is a bad idea, but I'm guessing that you're a die-hard NIS shop and so you are already aware of the security risks with doing anything involving NIS.

For any others reading this, if you put it in your LDAP tree and authenticate the name services with SSL certificates then it's rather safer.)

share|improve this answer
Thanks for the response. NIS = bad, yeah, knows that, only problem is that we have some old boxes like hpux 11.11, solaris 7 and 8 in our infra. – Muhammad Sep 1 '09 at 1:58

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.