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">
12
<title>&COMMANDNAME;</title>
13
<!-- NWalsh's docbook scripts use this to generate the footer: -->
14
<productname>&COMMANDNAME;</productname>
15
<productnumber>&VERSION;</productnumber>
18
<firstname>Björn</firstname>
19
<surname>Påhlsson</surname>
21
<email>belorn@fukt.bsnet.se</email>
25
<firstname>Teddy</firstname>
26
<surname>Hogeborn</surname>
28
<email>teddy@fukt.bsnet.se</email>
34
<holder>Teddy Hogeborn & Björn Påhlsson</holder>
38
This manual page is free software: you can redistribute it
39
and/or modify it under the terms of the GNU General Public
40
License as published by the Free Software Foundation,
41
either version 3 of the License, or (at your option) any
46
This manual page is distributed in the hope that it will
47
be useful, but WITHOUT ANY WARRANTY; without even the
48
implied warranty of MERCHANTABILITY or FITNESS FOR A
49
PARTICULAR PURPOSE. See the GNU General Public License
54
You should have received a copy of the GNU General Public
55
License along with this program; If not, see
56
<ulink url="http://www.gnu.org/licenses/"/>.
62
<refentrytitle>&COMMANDNAME;</refentrytitle>
63
<manvolnum>8mandos</manvolnum>
67
<refname><command>&COMMANDNAME;</command></refname>
69
get password for encrypted rootdisk
75
<command>&COMMANDNAME;</command>
76
<arg choice='opt'>--global-options<arg choice='plain'>OPTIONS</arg></arg>
77
<arg choice='opt'>--options-for<arg choice='plain'>PLUGIN:OPTIONS</arg></arg>
78
<arg choice='opt'>--disable<arg choice='plain'>PLUGIN</arg></arg>
79
<arg choice='opt'>--groupid<arg choice='plain'>ID</arg></arg>
80
<arg choice='opt'>--userid<arg choice='plain'>ID</arg></arg>
81
<arg choice='opt'>--plugin-dir<arg choice='plain'>DIRECTORY</arg></arg>
82
<arg choice='opt'>--debug</arg>
85
<command>&COMMANDNAME;</command>
86
<arg choice='plain'>--help</arg>
89
<command>&COMMANDNAME;</command>
90
<arg choice='plain'>--usage</arg>
93
<command>&COMMANDNAME;</command>
94
<arg choice='plain'>--version</arg>
98
<refsect1 id="description">
99
<title>DESCRIPTION</title>
101
<command>&COMMANDNAME;</command> is a plugin runner that waits
102
for any of its plugins to return sucessfull with a password, and
103
passes it to cryptsetup as stdout message. This command is not
104
meant to be invoked directly, but is instead meant to be run by
105
cryptsetup by being specified in /etc/crypttab as a keyscript
106
and subsequlently started in the initrd environment. See
107
<citerefentry><refentrytitle>crypttab</refentrytitle>
108
<manvolnum>5</manvolnum></citerefentry> for more information on
113
plugins is looked for in the plugins directory which by default will be
114
/conf/conf.d/mandos/plugins.d if not changed by option --plugin-dir.
118
<title>OPTIONS</title>
121
<term><literal>-g</literal>,<literal>--global-options
122
<replaceable>OPTIONS</replaceable></literal></term>
125
Global options given to all plugins as additional start
126
arguments. Options are specified with a -o flag followed
127
by a comma separated string of options.
133
<term><literal>-o</literal>,<literal> --options-for
134
<replaceable>PLUGIN</replaceable>:<replaceable>OPTION</replaceable>
138
Plugin specific options given to the plugin as additional
139
start arguments. Options are specified with a -o flag
140
followed by a comma separated string of options.
146
<term><literal>-d</literal>,<literal> --disable
147
<replaceable>PLUGIN</replaceable>
151
Disable a specific plugin
157
<term><literal>--groupid <replaceable>ID</replaceable>
161
Group ID the plugins will run as
167
<term><literal>--userid <replaceable>ID</replaceable>
171
User ID the plugins will run as
177
<term><literal>--plugin-dir <replaceable>DIRECTORY</replaceable>
181
Specify a different plugin directory
187
<term><literal>--debug</literal></term>
196
<term><literal>-?</literal>, <literal>--help</literal></term>
205
<term><literal>--usage</literal></term>
208
Gives a short usage message
214
<term><literal>-V</literal>, <literal>--version</literal></term>
217
Prints the program version
224
<refsect1 id="exit_status">
225
<title>EXIT STATUS</title>
236
<refsect1 id="notes">
248
<refsect1 id="examples">
249
<title>EXAMPLES</title>
254
<refsect1 id="security">
255
<title>SECURITY</title>
260
<refsect1 id="see_also">
261
<title>SEE ALSO</title>
263
<citerefentry><refentrytitle>mandos</refentrytitle>
264
<manvolnum>8</manvolnum></citerefentry>, <citerefentry>
265
<refentrytitle>password-request</refentrytitle>
266
<manvolnum>8mandos</manvolnum></citerefentry>, <citerefentry>
267
<refentrytitle>password-prompt</refentrytitle>
268
<manvolnum>8mandos</manvolnum></citerefentry>, and
269
<citerefentry><refentrytitle>cryptsetup</refentrytitle>
270
<manvolnum>8</manvolnum></citerefentry>