I was able to compile sudosh2-1.0.4 on AIX (I had to add "#include <strings.h>" to getopt.c and parce.c).
But when I use sudosh2 as a shell or interactive, pressing CTRL-C causes sudosh2 to be killed and not the program I was running.
Update to my post: when using sudosh2, the input is echoed back on the terminal and not in the input file I specified. I don't know if this is related ....
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have the same issue as 'stefcoene'.We compiled successfully sudosh2-1.0.4 on AIX 5.3 - 64 bit (after adding "#include <strings.h> to getopt.c and parse.c).
CTRL-C causes 'sudosh2 to be killed and the input is echoed back on the terminal. Also ESC-k doesn't work (even when we use 'set -o vi')
Sudosh-1.6.3 is working fine.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Josh Grebe has access to one of my AIX servers and he is trying to solve this issue. In the meantime, I switched to sudosh so I can fullfill our auditing requirements.
Stef
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Update to my post: when using sudosh2, the input is echoed back on the terminal and not in the input file I specified. I don't know if this is related ....
Second update: sudosh-1.6.3 is working like expected
We have the same issue as 'stefcoene'.We compiled successfully sudosh2-1.0.4 on AIX 5.3 - 64 bit (after adding "#include <strings.h> to getopt.c and parse.c).
CTRL-C causes 'sudosh2 to be killed and the input is echoed back on the terminal. Also ESC-k doesn't work (even when we use 'set -o vi')
Sudosh-1.6.3 is working fine.
Josh Grebe has access to one of my AIX servers and he is trying to solve this issue. In the meantime, I switched to sudosh so I can fullfill our auditing requirements.
Stef
A work around for the "ctlr-c" issue is to trap ctlr-c with a script.
EX:
#!/usr/bin/ksh
trap "" 2
/opt/freeware/bin/sudosh
Echo still seems to be a problem.
Continued access to AIX would be required to fix this issue.
Closing, can't fix currently.