File: config.h

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 (24 lines) | stat: -rw-r--r-- 520 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
/*
	config.h
	
	edit this to suit your own taste
*/

/* character to terminate ttysnoop client */

#define	TERM_CHAR	31			/* ctrl + '-' */
#define TC_STRING	"Ctrl+'-'"

/* character to suspend/resume ttysnoop client */

#define SUSP_CHAR	28			/* ctrl + '\' */
#define SC_STRING	"Ctrl+'\\'"

/* location of snooptab and named fifos (unix domain sockets) */

#define SNOOPTAB	"/etc/snooptab"	
#define SPOOLDIR	"/var/spool/ttysnoop"

/* which user's password to use for ttysnoop authentication */

#define SNOOPUSER	"root"