[ubuntu] Automating script command with every session/terminal login

view story

http://ubuntuforums.org – Hi everyone.I want to record the user activities on one of my servers(Ubuntu).There are several users which remotely login(through ssh).There is a command in ubuntu which allows to record the user activities in a session.It is the script command which records all the user's on-screen activity(offcourse on just a terminal) once it is executed manually something like this script -a filename It saves the onscreen activities to the specified file name after you press ctrl+D to stop the command. However,all this needs to be done manually.I want to automate the whole thing i.e script should r (Hardware)