4
4
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
5
5
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
6
6
<!ENTITY VERSION "1.0">
7
<!ENTITY COMMANDNAME "mandos-client">
7
<!ENTITY COMMANDNAME "plugin-runner">
8
<!ENTITY TIMESTAMP "2008-08-30">
12
<title>&COMMANDNAME;</title>
13
<title>Mandos Manual</title>
13
14
<!-- NWalsh's docbook scripts use this to generate the footer: -->
14
<productname>&COMMANDNAME;</productname>
15
<productname>Mandos</productname>
15
16
<productnumber>&VERSION;</productnumber>
17
<date>&TIMESTAMP;</date>
18
20
<firstname>Björn</firstname>
67
69
<refname><command>&COMMANDNAME;</command></refname>
69
get password for encrypted rootdisk
71
Run Mandos plugins. Pass data from first succesful one.
75
77
<command>&COMMANDNAME;</command>
76
<arg choice='opt' rep='repeat'>OPTION</arg>
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>
83
155
<command>&COMMANDNAME;</command> is a plugin runner that waits
84
156
for any of its plugins to return sucessfull with a password, and
85
passes it to cryptsetup. plugins is defined as any executables
86
in the plugins directory will by default will be
87
/conf/conf.d/mandos/plugins.d. to stdout.
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>
92
175
<term><literal>-g</literal>,<literal>--global-options
188
271
Prints the program version
278
<refsect1 id="exit_status">
279
<title>EXIT STATUS</title>
290
<refsect1 id="notes">
302
<refsect1 id="examples">
303
<title>EXAMPLE</title>
308
<refsect1 id="security">
309
<title>SECURITY</title>
314
<refsect1 id="see_also">
315
<title>SEE ALSO</title>
317
<citerefentry><refentrytitle>cryptsetup</refentrytitle>
318
<manvolnum>8</manvolnum></citerefentry>,
319
<citerefentry><refentrytitle>mandos</refentrytitle>
320
<manvolnum>8</manvolnum></citerefentry>,
321
<citerefentry><refentrytitle>password-prompt</refentrytitle>
322
<manvolnum>8mandos</manvolnum></citerefentry>,
323
<citerefentry><refentrytitle>password-request</refentrytitle>
324
<manvolnum>8mandos</manvolnum></citerefentry>
329
<!-- Local Variables: -->
330
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
331
<!-- time-stamp-end: "[\"']>" -->
332
<!-- time-stamp-format: "%:y-%02m-%02d" -->