One of our suppliers needs to debug a problem with an application by logging remotely into one of our servers. They'll need to have root access, which I plan to provide via ssh and sudo.
I generally trust the supplier, or I wouldn't consider it, but I'd like to have some logging of their actions.
I tried installing sudosh, but couldn't get it to run due to segmentation faults. A search turned up some hacks and tips, but no serious options.
How can I log all shell input output that a user or sudo creates?