File: snooptab.dist

package info (click to toggle)
ttysnoop 0.12d-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, jessie, jessie-kfreebsd, sid, stretch
  • size: 396 kB
  • ctags: 460
  • sloc: ansic: 5,419; makefile: 172
file content (29 lines) | stat: -rw-r--r-- 833 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# /etc/snooptab
#
# these display directly on the specified tty.. no client necessary
#
# tty		snoopdev	type	execpgm
#
#ttyS1		/dev/tty7	login	/bin/login
#ttyS2		/dev/tty8	login	/bin/login
#
#
# the 'socket' snoop-device is for use with the ttysnoop client (any tty not
# listed above will match the wildcard)
#
*		socket		login	/bin/login
#
# remember to inform your incoming daemons that /usr/sbin/ttysnoops is 
# the login program
#
# example:  (for /etc/inetd.conf)
# telnet stream tcp nowait root /usr/sbin/tcpd /usr/sbin/in.telnetd -L /usr/sbin/ttysnoops
#
# example /etc/inittab (using agetty):
# s2:23:respawn:/sbin/getty 38400 ttyS2 vt100 -l /usr/sbin/ttysnoops
#
# or, if you're using mgetty:   (/etc/mgetty/login.config) replace:
# *	  -       -       /bin/login	@
# with:
# *       -       -       /usr/sbin/ttysnoops @