--- Matija Papec <[EMAIL PROTECTED]> wrote:
> is there a more elegant way to find out who is running a script? %ENV
> is not reliable and it doesn't contain USER when booting the system,
> and "whoami" is external command(yuck :) ) tnx!
A lot of UNIX-ish systems have an environment variable like USER or
LOGNAME. I often manage with just $ENV{LOGNAME}, though that's not
*terribly* reliable. I've spoofed my own programs by just resetting
that variable.....but for simple jobs, it's easy.
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/