Test for root.

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: David A. Sinck
Date:  
Subject: Test for root.

\_ 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