key logging

I want to log the key stroke of every pts?
How can I do it?
Remember I can't have access to those terminal.

man script