On Sun, 08 Feb 2004 15:34:01 +0000, Andy Fiddaman wrote:

> Probably worth mentioning at this point that the 'whoami' utility isn't
> standard in core solaris either, that needs the SUNWscpu (SunOS 4.x
> compatibility utilities) - "who am i | awk '{print$1}'" does the same
> though.
> 
> Andy
> 
> [EMAIL PROTECTED] clamav-0.67]# who am i
tommy      pts/2        Jan 29 14:56    (pickles)
[EMAIL PROTECTED] clamav-0.67]# /usr/ucb/whoami
root



Just thought I would mention that "whoami" and "who am i" are not quite
the same... its better to do something like "id  | grep -c root" .. but
even that can be thrown off 

Tommy



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to