1 | .\" $Id: athinfo.defs.5,v 1.2 1999-04-13 21:16:36 ghudson Exp $ |
---|
2 | .\" |
---|
3 | .\" Copyright 1998, 1999 by the Massachusetts Institute of Technology. |
---|
4 | .\" |
---|
5 | .\" Permission to use, copy, modify, and distribute this |
---|
6 | .\" software and its documentation for any purpose and without |
---|
7 | .\" fee is hereby granted, provided that the above copyright |
---|
8 | .\" notice appear in all copies and that both that copyright |
---|
9 | .\" notice and this permission notice appear in supporting |
---|
10 | .\" documentation, and that the name of M.I.T. not be used in |
---|
11 | .\" advertising or publicity pertaining to distribution of the |
---|
12 | .\" software without specific, written prior permission. |
---|
13 | .\" M.I.T. makes no representations about the suitability of |
---|
14 | .\" this software for any purpose. It is provided "as is" |
---|
15 | .\" without express or implied warranty. |
---|
16 | .TH ATHINFO.DEFS 5 "13 April 1999" |
---|
17 | .SH NAME |
---|
18 | athinfo.defs \- Define athinfo queries |
---|
19 | .SH SYNOPSIS |
---|
20 | .B /etc/athena/athinfo.defs |
---|
21 | .SH DESCRIPTION |
---|
22 | The file |
---|
23 | .B /etc/athena/athinfo.defs |
---|
24 | defines the queries understood by the athinfo daemon (see |
---|
25 | .BR athinfod (8)). |
---|
26 | Blank lines and lines beginning with '#' are ignored. Each line |
---|
27 | consists of a word giving the query name and a command to be executed |
---|
28 | by /bin/sh in response to the query. The command executed will not |
---|
29 | receive input from the athinfo client. For security reasons, the |
---|
30 | command should not depend on a network filesystem. |
---|
31 | .SH EXAMPLE |
---|
32 | The following example defines two queries, one to display the routing |
---|
33 | table and another to display the rc.conf file. |
---|
34 | .PP |
---|
35 | .RS |
---|
36 | .nf |
---|
37 | # Query Command |
---|
38 | |
---|
39 | routes netstat -rn |
---|
40 | rc.conf cat /etc/athena/rc.conf |
---|
41 | .fi |
---|
42 | .RE |
---|
43 | .SH "SEE ALSO" |
---|
44 | .BR athinfod (8), |
---|
45 | .BR athinfo.access (5) |
---|
46 | .SH AUTHOR |
---|
47 | Greg Hudson, MIT Information Systems |
---|
48 | .br |
---|
49 | Copyright 1998 by the Massachusetts Institute of Technology. |
---|