1TWPRINT(8)                  System Manager's Manual                 TWPRINT(8)
2
3
4

NAME

6       twprint - Tripwire database and report printer
7

SYNOPSIS

9       twprint { -m r | --print-report } [ options... ]
10             [ object1 [ object2... ]]
11       twprint { -m d | --print-dbfile } [ options... ]
12             [ object1 [ object2... ]]
13

DESCRIPTION

15       Prints Tripwire database and report files in clear text format.
16
17   Report Printing mode
18       In Report Printing mode, twprint verifies and displays the contents of
19       a Tripwire report file (.twr).  If no report is specified on the
20       command line, the report specified in the REPORTFILE variable in the
21       configuration file will be used.  By default, this value includes the
22       date and time to the nearest second.  Because this value is constantly
23       changing, twprint may not be able to find the correct report file. For
24       this reason, the (‐r or --twrfile) flag should be used with the desired
25       report name to print a specific report.
26
27   Database Printing mode
28       This option is used to print a Tripwire database file in human-readable
29       (clear text) form.  In Database Printing mode, twprint verifies and
30       prints the contents of a specified database to stdout.  If no database
31       file is specified on the command line, the default database specified
32       by the DBFILE variable in the configuration file is used.
33

OPTIONS

35   Report printing mode:
36           -m r               --print-report
37           -v                 --verbose
38           -s                 --silent, --quiet
39           -h                 --hexadecimal
40           -c cfgfile         --cfgfile cfgfile
41           -r report          --twrfile report
42           -L localkey        --local-keyfile localkey
43           -t { 0|1|2|3|4 }   --report-level { 0|1|2|3|4 }
44           [ object1 [ object2... ]]
45
46       ‐m r, --print-report
47              Mode selector.
48
49       ‐v, --verbose
50              Verbose output mode.  Mutually exclusive with (‐s).
51
52       ‐s, --silent, --quiet
53              Silent output mode.  Mutually exclusive with (‐v).
54
55       ‐h, --hexadecimal
56              Display hash values as hexadecimal.
57
58       ‐c cfgfile, --cfgfile cfgfile
59              Use the specified configuration file.
60
61       ‐r report, --twrfile report
62              Print the specified report file.
63
64       ‐L localkey, --local-keyfile localkey
65              Use the specified local key file to perform verification with
66              reports which are signed.
67
68       ‐t level, --report-level level
69              Specifies the detail level of the printed report, overriding the
70              REPORTLEVEL variable in the configuration file. level must be a
71              number from 0 to 4.
72
73       [ object1 [ object2... ]]
74              List of filesystem objects in the report to print. If no objects
75              are specified, every object in the report will be printed.
76
77   Database printing mode:
78           -m d           --print-dbfile
79           -v             --verbose
80           -s             --silent, --quiet
81           -h             --hexadecimal
82           -c cfgfile     --cfgfile cfgfile
83           -d database    --dbfile database
84           -L localkey    --local-keyfile localkey
85           -t { 0|1|2 }   --output-level { 0|1|2 }
86           [ object1 [ object2... ]]
87
88       ‐m d, --print-dbfile
89              Mode selector.
90
91       ‐v, --verbose
92              Verbose output mode.  Mutually exclusive with (‐s).
93
94       ‐s, --silent, --quiet
95              Silent output mode.  Mutually exclusive with (‐v).
96
97       ‐h, --hexadecimal
98              Display hash values as hexadecimal.
99
100       ‐c cfgfile, --cfgfile cfgfile
101              Use the specified configuration file.
102
103       ‐d database, --dbfile database
104              Print the specified database file.
105
106       ‐L localkey, --local-keyfile localkey
107              Use the specified local key file to read the database.
108
109       ‐t level, --output-level level
110              Specifies the detail level of the printed database, overriding
111              the DBPRINTLEVEL variable in the configuration file. level must
112              be a number from 0 to 2.
113
114       [ object1 [ object2... ]]
115              List of filesystem objects in the database to print. If no
116              objects are specified, every object in the database will be
117              printed. The format for a list of objects is: section: objname
118              objname... section: objname...
119

EXIT STATUS

121       twprint exits 0 on success, 1 on error.
122

VERSION INFORMATION

124       This man page describes twprint version 2.4.
125

AUTHORS

127       Tripwire, Inc.
128

COPYING PERMISSIONS

130       Permission is granted to make and distribute verbatim copies of this
131       man page provided the copyright notice and this permission notice are
132       preserved on all copies.
133
134       Permission is granted to copy and distribute modified versions of this
135       man page under the conditions for verbatim copying, provided that the
136       entire resulting derived work is distributed under the terms of a
137       permission notice identical to this one.
138
139       Permission is granted to copy and distribute translations of this man
140       page into another language, under the above conditions for modified
141       versions, except that this permission notice may be stated in a
142       translation approved by Tripwire, Inc.
143
144       Copyright 2000-2018 Tripwire, Inc. Tripwire is a registered trademark
145       of Tripwire, Inc. in the United States and other countries. All rights
146       reserved.
147

SEE ALSO

149       twintro(8), tripwire(8), twadmin(8), siggen(8), twconfig(4),
150       twpolicy(4), twfiles(5)
151
152
153
154Open Source Tripwire 2.4          04 Jan 2018                       TWPRINT(8)
Impressum