Hi,
We have a group of users. These users after they login into the
unix system with their login id, they will then login to a common
account by doing $su - <commonAcct>.
After this they will run a shell script.
Is there any way that we can capture in this program who the underlying user invoked this program.
Example:
Say user ABC logged into the unix system. Now he will do su
$ su - <commonAcct>
password:
$ sh <executeProgram.sh>
This program <executeProgram.sh> should capture the user ABC.
We are using HPUX11.0
Please let me know how I can do this.
Thanks in Advance
Chari
We have a group of users. These users after they login into the
unix system with their login id, they will then login to a common
account by doing $su - <commonAcct>.
After this they will run a shell script.
Is there any way that we can capture in this program who the underlying user invoked this program.
Example:
Say user ABC logged into the unix system. Now he will do su
$ su - <commonAcct>
password:
$ sh <executeProgram.sh>
This program <executeProgram.sh> should capture the user ABC.
We are using HPUX11.0
Please let me know how I can do this.
Thanks in Advance
Chari