This document outlines a shell script that logs all commands entered by a user during their session. It logs login/logout times, current working directory, and command executed to a file in /usr/tmp. Certain commands like exit, break, and logout trigger logout logging. Others are checked for security and denied or run with restrictions as needed.