we use an OPERATOR and SERVER variable on our scripts to keep track of who is executing what.
for example
/opt/scripts/test1.sh $OPERATOR -p test -t test
so it would be great to have a variable with current logged user in a variable.
I think we can user double dollar to get current machine, so that part is covered.
ask for further info if you need more details
we use an OPERATOR and SERVER variable on our scripts to keep track of who is executing what.
for example
so it would be great to have a variable with current logged user in a variable.
I think we can user double dollar to get current machine, so that part is covered.
ask for further info if you need more details