sudosh is a sudo shell, filter and can be used as a login shell. Sudosh records all keystrokes and output and can play back the session as just like a VCR.
The first release of this project was based on stolen code (rootsh) anyway.
This project was abandoned by it's creator, dhanks in 2006 (See https://sourceforge.net/users/dhanks and https://sourceforge.net/tracker/index.php?func=detail&aid=1529850&group_id=1&atid=200001 for more information). This project is a good idea, but please look at sudosh2 instead. sudosh2 should still be maintained -- https://sourceforge.net/projects/sudosh2/ .