1
<?xml version='1.0' encoding='UTF-8'?>
2
<?xml-stylesheet type="text/xsl"
3
href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
4
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
5
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
6
<!ENTITY VERSION "1.0">
7
<!ENTITY COMMANDNAME "plugin-runner">
8
<!ENTITY TIMESTAMP "2008-08-31">
13
<title>Mandos Manual</title>
14
<!-- NWalsh's docbook scripts use this to generate the footer: -->
15
<productname>Mandos</productname>
16
<productnumber>&VERSION;</productnumber>
17
<date>&TIMESTAMP;</date>
20
<firstname>Björn</firstname>
21
<surname>Påhlsson</surname>
23
<email>belorn@fukt.bsnet.se</email>
27
<firstname>Teddy</firstname>
28
<surname>Hogeborn</surname>
30
<email>teddy@fukt.bsnet.se</email>
36
<holder>Teddy Hogeborn & Björn Påhlsson</holder>
40
This manual page is free software: you can redistribute it
41
and/or modify it under the terms of the GNU General Public
42
License as published by the Free Software Foundation,
43
either version 3 of the License, or (at your option) any
48
This manual page is distributed in the hope that it will
49
be useful, but WITHOUT ANY WARRANTY; without even the
50
implied warranty of MERCHANTABILITY or FITNESS FOR A
51
PARTICULAR PURPOSE. See the GNU General Public License
56
You should have received a copy of the GNU General Public
57
License along with this program; If not, see
58
<ulink url="http://www.gnu.org/licenses/"/>.
64
<refentrytitle>&COMMANDNAME;</refentrytitle>
65
<manvolnum>8mandos</manvolnum>
69
<refname><command>&COMMANDNAME;</command></refname>
71
Run Mandos plugins. Pass data from first succesful one.
77
<command>&COMMANDNAME;</command>
79
<arg choice="plain"><option>--global-envs=<replaceable
80
>VAR</replaceable><literal>=</literal><replaceable
81
>value</replaceable></option></arg>
82
<arg choice="plain"><option>-e
83
<replaceable>VAR</replaceable><literal>=</literal><replaceable
84
>value</replaceable> </option></arg>
88
<arg choice="plain"><option>--envs-for=<replaceable
89
>PLUGIN</replaceable><literal>:</literal><replaceable
90
>ENV</replaceable><literal>=</literal><replaceable
91
>value</replaceable></option></arg>
92
<arg choice="plain"><option>-f<replaceable>
93
PLUGIN</replaceable><literal>:</literal><replaceable
94
>ENV</replaceable><literal>=</literal><replaceable
95
>value</replaceable> </option></arg>
99
<arg choice="plain"><option>--global-options=<replaceable
100
>OPTIONS</replaceable></option></arg>
101
<arg choice="plain"><option>-g<replaceable>
102
OPTIONS</replaceable> </option></arg>
106
<arg choice="plain"><option>--options-for=<replaceable
107
>PLUGIN</replaceable><literal>:</literal><replaceable
108
>OPTIONS</replaceable></option></arg>
109
<arg choice="plain"><option>-f<replaceable>
110
PLUGIN</replaceable><literal>:</literal><replaceable
111
>OPTIONS</replaceable> </option></arg>
115
<arg choice="plain"><option>--disable=<replaceable
116
>PLUGIN</replaceable></option></arg>
117
<arg choice="plain"><option>-d
118
<replaceable>PLUGIN</replaceable> </option></arg>
121
<arg><option>--groupid=<replaceable
122
>ID</replaceable></option></arg>
124
<arg><option>--userid=<replaceable
125
>ID</replaceable></option></arg>
127
<arg><option>--plugin-dir=<replaceable
128
>DIRECTORY</replaceable></option></arg>
130
<arg><option>--debug</option></arg>
133
<command>&COMMANDNAME;</command>
135
<arg choice='plain'><option>--help</option></arg>
136
<arg choice='plain'><option>-?</option></arg>
140
<command>&COMMANDNAME;</command>
141
<arg choice='plain'><option>--usage</option></arg>
144
<command>&COMMANDNAME;</command>
146
<arg choice='plain'><option>--version</option></arg>
147
<arg choice='plain'><option>-V</option></arg>
152
<refsect1 id="description">
153
<title>DESCRIPTION</title>
155
<command>&COMMANDNAME;</command> is a plugin runner that waits
156
for any of its plugins to return sucessfull with a password, and
157
passes it to cryptsetup as stdout message. This command is not
158
meant to be invoked directly, but is instead meant to be run by
159
cryptsetup by being specified in /etc/crypttab as a keyscript
160
and subsequlently started in the initrd environment. See
161
<citerefentry><refentrytitle>crypttab</refentrytitle>
162
<manvolnum>5</manvolnum></citerefentry> for more information on
167
plugins is looked for in the plugins directory which by default will be
168
/conf/conf.d/mandos/plugins.d if not changed by option --plugin-dir.
172
<title>OPTIONS</title>
175
<term><option>--global-options
176
<replaceable>OPTIONS</replaceable></option></term>
178
<replaceable>OPTIONS</replaceable></option></term>
181
Global options given to all plugins as additional start
182
arguments. Options are specified with a -o flag followed
183
by a comma separated string of options.
189
<term><option>--options-for
190
<replaceable>PLUGIN</replaceable><literal>:</literal
191
><replaceable>OPTION</replaceable></option></term>
193
<replaceable>PLUGIN</replaceable><literal>:</literal
194
><replaceable>OPTION</replaceable></option></term>
197
Plugin specific options given to the plugin as additional
198
start arguments. Options are specified with a -o flag
199
followed by a comma separated string of options.
205
<term><option> --disable
206
<replaceable>PLUGIN</replaceable></option></term>
208
<replaceable>PLUGIN</replaceable></option></term>
211
Disable a specific plugin
217
<term><option>--groupid
218
<replaceable>ID</replaceable></option></term>
221
Group ID the plugins will run as
227
<term><option>--userid
228
<replaceable>ID</replaceable></option></term>
231
User ID the plugins will run as
237
<term><option>--plugin-dir
238
<replaceable>DIRECTORY</replaceable></option></term>
241
Specify a different plugin directory
247
<term><option>--debug</option></term>
256
<term><option>--help</option></term>
257
<term><option>-?</option></term>
266
<term><option>--usage</option></term>
269
Gives a short usage message
275
<term><option>--version</option></term>
276
<term><option>-V</option></term>
279
Prints the program version
286
<refsect1 id="exit_status">
287
<title>EXIT STATUS</title>
298
<refsect1 id="notes">
310
<refsect1 id="examples">
311
<title>EXAMPLE</title>
316
<refsect1 id="security">
317
<title>SECURITY</title>
322
<refsect1 id="see_also">
323
<title>SEE ALSO</title>
325
<citerefentry><refentrytitle>cryptsetup</refentrytitle>
326
<manvolnum>8</manvolnum></citerefentry>,
327
<citerefentry><refentrytitle>mandos</refentrytitle>
328
<manvolnum>8</manvolnum></citerefentry>,
329
<citerefentry><refentrytitle>password-prompt</refentrytitle>
330
<manvolnum>8mandos</manvolnum></citerefentry>,
331
<citerefentry><refentrytitle>password-request</refentrytitle>
332
<manvolnum>8mandos</manvolnum></citerefentry>
337
<!-- Local Variables: -->
338
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
339
<!-- time-stamp-end: "[\"']>" -->
340
<!-- time-stamp-format: "%:y-%02m-%02d" -->