Menu ▾ ▴

#72 Script enhancement

v3.1.2
open
nobody
Misc (42)
5
2012-12-11
2004-11-20
Anonymous
No

For linux RUN_AS_USER, the script hardcodes the path
for locating the 'id' command (to be /usr/bin/id). In some
versions of linux, this command is located in /bin itself. I
used the 'whereis' command to locate the path of id.

IDEXE=`whereis -b id | cut -d: -f2`

Please validate this and if useful, please update the
script.

Thanks,
Rajesh

Discussion


Log in to post a comment.