tools icon indicating copy to clipboard operation
tools copied to clipboard

Record user running the script with $SUDO_USER or similar (install_bigfix)

Open jgstew opened this issue 9 years ago • 1 comments

https://github.com/jgstew/tools/commit/ed84f79e4ab822f4a71ae5babc48e8ac86f115d0#diff-5352e955d46d92a3a800ff8aa617565c

I added this to the code, but it seems to not work correctly within docker containers, or perhaps not at all. Haven't had it work yet on any system.

jgstew avatar Sep 16 '16 20:09 jgstew

I just checked this, still not working for docker.

The output is empty: _BESClient_InstallTime_User=

This may be because there is no sudo user in the case of docker.

jgstew avatar Jun 07 '17 20:06 jgstew