Operating System - HP-UX
1834389 Members
1869 Online
110066 Solutions
New Discussion

snooping into user terminals

 
Jacob_2
Advisor

snooping into user terminals

Hi,
As root , can I peek into user terminals.
Third party s/w like "doublevision" do work, but is there a more native way to do it with scripts.
Thanks
8 REPLIES 8
harry d brown jr
Honored Contributor

Re: snooping into user terminals

Not really. What kind of user terminals (login methods) are we talking about? If it's a security issue, then I would suggest locking all users out of shell prompts and keep them in their applications.

live free or die
harry
Live Free or Die
James R. Ferguson
Acclaimed Contributor

Re: snooping into user terminals

Hi:

I'm not sure exactly what you want to do or see. Have a look at the 'script' command. You may find it (at least) helpful.

# man script

Regards!

...JRF...
Jacob_2
Advisor

Re: snooping into user terminals

Who ever is logged into the server need to be watched.
As long as the user has a valid "tty" I need to sneek in.
Ofcourse, I can have a .profile (of the user ) do a "script" into a logfile & clean it up on his way out (logout). This way I can tail the user commands.
But I need it more specific to the "tty".

ie. a single user can be logged in on more than once and doing differnt jobs.

thanks for the replies
harry d brown jr
Honored Contributor

Re: snooping into user terminals

You can "look" at other X windows:

http://hpux.cs.utah.edu/hppd/hpux/X11/Networking/xwatchwin-1.1.1/

Maybe something like sniff or snoop, but that would not account for serial based terminals.

live free or die
harry
Live Free or Die
Craig Rants
Honored Contributor

Re: snooping into user terminals

Becareful doing this unless you have some backing from your management and the legal department. If you come across information in the process of doing your job that is one thing. However, if you are intentionally looking at the work of users, especially spying on their terminals, they must have a "Reasonable Expectation" that you will be doing this type of monitoring, i.e.. They have signed a usage document allowing you to monitor in this specific manner. Otherwise, you and your company could be facing some serious legal issues.

Just a head up.

C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Paula J Frazer-Campbell
Honored Contributor

Re: snooping into user terminals

Jacob
If you are running universe on your server then have a look at tandem.

TANDEM

_________________________________________________________________


Use TANDEM to display or control the input and output
displayed on another user's terminal from your terminal. You
must be a UniVerse Administrator logged in to the uniVerse account
to use TANDEM.


Paula
If you can spell SysAdmin then you is one - anon
Jacob_2
Advisor

Re: snooping into user terminals

Craig: Thanks for the sound advise.

Paula: I will Try this TANDEM .Thanks
Jack C. Mahaffey
Super Advisor

Re: snooping into user terminals

If you use citrix MetaFrame on the Server, you can use remote control and take over control or watch what's going on.
jack...