say I have a root account assigned to the following groups
% id root
uid=0(root) gid=0(wheel) groups=0(wheel),2(kmem),3(sys),4(tty),5(operator), 8(news),9(mail),12(utmp),25(patron),50(staff),55(d ocs),117(dialer)
Say I want to add a person to the staff group. Is there anway of determining what programs get executed under the staff group?