Fix markup. Fix backslashes to surive roff.
[netbsd-mini2440.git] / sbin / veriexecctl / veriexecctl.8
blob71f55b202b2346e70b1c2dc873decbafd0640716
1 .\" $NetBSD: veriexecctl.8,v 1.34 2008/02/18 10:37:19 elad Exp $
2 .\"
3 .\" Copyright (c) 1999
4 .\"     Brett Lymn - blymn@baea.com.au, brett_lymn@yahoo.com.au
5 .\"
6 .\" This code is donated to The NetBSD Foundation by the author.
7 .\"
8 .\" Redistribution and use in source and binary forms, with or without
9 .\" modification, are permitted provided that the following conditions
10 .\" are met:
11 .\" 1. Redistributions of source code must retain the above copyright
12 .\"    notice, this list of conditions and the following disclaimer.
13 .\" 2. Redistributions in binary form must reproduce the above copyright
14 .\"    notice, this list of conditions and the following disclaimer in the
15 .\"    documentation and/or other materials provided with the distribution.
16 .\" 3. The name of the Author may not be used to endorse or promote
17 .\"    products derived from this software without specific prior written
18 .\"    permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
24 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 .\" SUCH DAMAGE.
31 .\"
32 .\"     $Id: veriexecctl.8,v 1.35 2008/08/31 23:40:19 dholland Exp $
33 .\"
34 .Dd August 31, 2008
35 .Dt VERIEXECCTL 8
36 .Os
37 .Sh NAME
38 .Nm veriexecctl
39 .Nd manage the
40 .Em Veriexec
41 subsystem
42 .Sh SYNOPSIS
43 .Nm
44 .Op Fl ekv
45 .Cm load Op file
46 .Nm
47 .Cm delete Ar file | mount_point
48 .Nm
49 .Cm dump
50 .Nm
51 .Cm flush
52 .Nm
53 .Cm query Ar file
54 .Sh DESCRIPTION
55 The
56 .Nm
57 command is used to manipulate
58 .Em Veriexec ,
59 the
60 .Nx
61 file integrity subsystem.
62 .Ss Commands
63 .Bl -tag -width XXXX
64 .It Cm load Op file
65 Load the fingerprint entries contained in
66 .Ar file ,
67 if specified, or the default signatures file otherwise.
68 .Pp
69 This operation is only allowed in learning mode (strict level zero).
70 .Pp
71 The following flags are allowed with this command:
72 .Bl -tag -width indent
73 .It Fl e
74 Evaluate fingerprint on load, as opposed to when the file is accessed.
75 .It Fl k
76 Keep the filenames in the entry for more accurate logging.
77 .It Fl v
78 Enable verbose output.
79 .El
80 .It Cm delete Ar file | mount_point
81 Delete either a single entry
82 .Ar file
83 or all entries on
84 .Ar mount_point
85 from being monitored by
86 .Em Veriexec .
87 .It Cm dump
88 Dump the
89 .Em Veriexec
90 database from the kernel.
91 Only entries that have the filename will be presented.
92 .Pp
93 This can be used to recover a lost database:
94 .Bd -literal -offset indent
95 # veriexecctl dump \*[Gt] /etc/signatures
96 .Ed
97 .It Cm flush
98 Delete all entries in the
99 .Em Veriexec
100 database.
101 .It Cm query Ar file
102 Query
103 .Em Veriexec
104 for information associated with
105 .Ar file :
106 Filename, mount, fingerprint, fingerprint algorithm, evaluation status,
107 and entry type.
109 .Sh FILES
110 .Bl -tag -width /etc/signatures -compact
111 .It Pa /dev/veriexec
112 .Em Veriexec
113 pseudo-device
114 .It Pa /etc/signatures
115 default signatures file
117 .Sh SEE ALSO
118 .Xr veriexec 4 ,
119 .Xr veriexec 5 ,
120 .Xr security 8 ,
121 .Xr veriexec 8 ,
122 .Xr veriexecgen 8
123 .Sh HISTORY
125 first appeared in
126 .Nx 2.0 .
127 .Sh AUTHORS
128 .An Brett Lymn Aq blymn@NetBSD.org
129 .An Elad Efrat Aq elad@NetBSD.org
130 .Sh NOTES
131 The kernel is expected to have the
132 .Dq veriexec
133 pseudo-device.