Juan Asked: 2010-12-23 15:25:53 +0800 CST2010-12-23 15:25:53 +0800 CST 2010-12-23 15:25:53 +0800 CST How do you tell if a user is logged in as root on Mac OS X? 772 If I sudo /bin/bash, the who and w command does not show a root login on Mac OS X. How do you enable this? mac-osx mac root sudo 1 Answers Voted Best Answer Istvan 2010-12-23T15:33:36+08:002010-12-23T15:33:36+08:00 There is a log in the /var/log directory called auth.log where you can see if somebody su or sudo to root. Dec 23 00:32:43 hostname su: user to root on /dev/pts/3
There is a log in the /var/log directory called auth.log where you can see if somebody su or sudo to root.