Test for root.

David A. Sinck plug-discuss@lists.PLUG.phoenix.az.us
Fri, 7 Sep 2001 07:19:19 -0700


\_ SMTP quoth Matt Alexander on 9/6/2001 17:35 as having spake thusly:
\_
\_ On Thu, 6 Sep 2001, Matt Alexander wrote:
\_ 
\_ P.S.  You should also get in the habit of specifying the full path to any
\_ programs you use in your shell scripts.  So in the above test, use
\_ /usr/bin/whoami instead of just whoami.

I haven't tried this in a malicious setting, but I bet chroot could
foil that too.

David