Answer the question
In order to leave comments, you need to log in
Logging Linux keyboard input?
Good afternoon, there is a need to keep logs from keyboard input on Ubuntu (VDS) and send them to my server.
How/how can this be done? Linux is very weak, there is some kind of manual.
I tried this https://github.com/kernc/logkeys but the log file remains empty, although the script process is running.
Most likely they will work either through RDP (Windows) or through TeamViewer.
PS This is not for some nasty things. I lease an account to a person for a long time in one service, on which he will work through VDS (+ access from VDS).
I want to keep logs in case of a kidk (so that all of a sudden I always had all new passwords).
Answer the question
In order to leave comments, you need to log in
Several considerations.
1) The person must be warned that you are collecting this information.
2) Something is wrong with your security. Your account must be higher in privilege. You should be able to reset his password anyway, regardless of what he changed there.
3) Team Viewer is not a serious tool. No corporation takes it as a tool for doing business and solving problems.
You made a stupid decision.
Just do not give the person admin rights and that's it. Why track Claudia? Well, he will change the password from his user, but what do you care. With root rights, change it
If so, the logs of commands entered from the keyboard are kept in .bash_history, and so that the account is not taken away, simply cut the user's rights.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question