![]() |
Now serving 104 guides. |
|
Watch Terminal Activity General Information Have you ever had a user login to your box and then ask you for help? Or have you ever been curious as to what your users are doing on your system? Thewatch(8) utility will let you snoop another tty, allowing you to see what your other users are doing and even interact with them. It's a must-have utility for every network administrator.Requirements
Installation For the 5.x branch, there is no installation needed. Everything required for watch is already installed.For the 4.x branch, we have to compile a kernel with snp support. So, add the following to your kernel configuration:
Usage You need to know which tty you wish to watch, so if you don't know it you can find out.
Note: You must aquire root priveleges first as
Author: Jon LaBass Find this guide useful?
Support the author: 2 Comments Posted by X-Istence on March 01, 2005 at 4:56:01 pm EET
If you don't want to recompile the kernel on FreeBSD 4.x you can also use screen to get the same effect.
man screen for more info. Posted by X-Istence on March 01, 2005 at 4:56:01 pm EET
For 5.x you do need to configure some stuff.
First off, you can't use watch if your securelevel is set higher than 1. As you can't load kernel modules, so loading snp will fail, and watch will fail. So in case you do want to use it with securelevel set at a high level, make sure to add snp do your kernel configuration file. |
Copyright 2003 - 2008 BSD Guides. All rights reserved. |
About | Terms of Use | Privacy | Contact |

