歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux資訊 >> 更多Linux >> 如何監視某個tty

如何監視某個tty

日期:2017/2/27 9:38:19   编辑:更多Linux

你可以把 /etc/inetd.conf中  # Use this one instead if you want to snoop on telnet users (try to use this  # for ethical purposes, ok folks?) :  telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetsnoopd  1.把原本的in.telnetd換成上述的in.telnetsnoopd,  2.然後激活 ttysnoops &  3.mkdir /var/spool/ttysnoop  4.重新激活 inetd  用法就是 ttysnoop tty*,這時它會要你輸入root的密碼,按 ctrl+7可以終止,不過監視人家時要小心不要被發現了喲。這兩個窗口是一樣的,你還可以控制他的鍵盤 (自己先練習一下,呵呵...)  可以從這裡下載:  http://www.Linuxon.com.br/apostilas/ndotel.htm  或http://wuarchive.wustl.edu/systems/linux/linuXPpc/contrib/older.versions/mklinux/




Copyright © Linux教程網 All Rights Reserved