How do I capture the output of a tty while still allowing sent characters to reach the correct desti

Posted by Zak on Server Fault See other posts from Server Fault or by Zak
Published on 2010-05-05T17:46:54Z Indexed on 2010/05/05 17:59 UTC
Read the original article Hit count: 230

Filed under:
|

I currently have some systems that multiple people have access to for administration purposes. We've modified the history log so that we capture 2k lines of history per user to help aid in who has done what on the system. However, we would additionally like to capture all keyboard input when we (the administrators) log in, and log it to a file so we can see what changes were made to files once people go into vi to edit them. It will also aid us in documenting when we are going through a compile of software and the like.

How can I do this? CentOS 5.4 if it makes a difference.

© Server Fault or respective owner

Related posts about terminal

Related posts about logging