From: statix@yabbs To: all@yabbs Subject: detecting SU'ing Date: Wed Mar 9 18:45:46 1994 anyone got the best way to tell if someone is running a program while they are su'ed into another account (i.e. root su's to my account to run some of my programs (so I can't pull an if (!getuid()) raise_hell type deal) would stat()ing the tty the person is running the program from and comparing the owner of it with the uid of the person running the program let me know? If anyone has any suggestions for the best way to do this, please lemme know. statix