0

I want to see what is freelance admin doing to my server. But all solutions i have found - screen, conspy, vnc does't met my needs.

Conspy is great but i have to ask free-lancer to run it first to see what is happening. I want to connect into other tty and see whats happening without sending keys. Only viewing.

Is it possible?

barraba
  • 35
  • 1
  • 1
  • 7

3 Answers3

2

How about hiring a freelancer you can trust? This kind of spying takes a lot of time/effort, and you're not even guaranteed to see when he's doing something bad.

Dennis Kaarsemaker
  • 19,277
  • 2
  • 44
  • 70
0

A simple, if not completely secure option, would be to set their shell to exec script, e.g. in ~/.profile, ~/.bashrc, etc, set:

exec script /path/to/logs/script_$(id -nu)_$(date +%Y%m%d_%H%M%S)

Note I say this isn't secure, because they could delete or modify the log file. It would allow you to tail the log though.

James O'Gorman
  • 5,329
  • 2
  • 24
  • 28
0

although Im agree with Dennis Kaarsemaker but you may like to use following tools:

https://github.com/a2o/snoopy http://sniffy.sourceforge.net/

another solution without installing thrid party tools on your server will be using the "w" command which display which user execute what commands.

Imax36581
  • 101
  • 1