Okay so first thing to test....
WHICH su is called by default.
[root@kindle us]#
su --version
Quote:
su: unrecognized option `--version'
BusyBox v1.20.2 (2012-09-03 02:06:04 BST) multi-call binary.
|
Bonus, it's our one - so we can amend the script I think to do more stuff (this is a guess)
second thing to test...
does the internal subshell mechanism call our su to do its work? or something else?
This I don't know, but no doubt more endless reading will illuminate me.
Or we could just test, yeah let's do that instead. TBC...