[Sunhelp] Scripts - checking user

Kalusniak, Jeff jkalusniak at goliathfalls.com
Wed Jun 7 12:53:24 CDT 2000


Can anyone tell me the easiest way to verify the user running a script?
In other words, I have a script that I want to always be run by user1.
However,
if user2 has su'd to user1 (su user1  instead of   su - user1), the LOGNAME,

etc are still held by user2.

I need the script to only be run as user1.

Thanks

Jeff Kalusniak
Goliath Falls Inc.







More information about the SunHELP mailing list