/mandos/release

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/release

« back to all changes in this revision

Viewing changes to plugin-runner.xml

  • Committer: Teddy Hogeborn
  • Date: 2008-08-30 19:49:24 UTC
  • Revision ID: teddy@fukt.bsnet.se-20080830194924-f4liqq8wxajlbshn
* plugin-runner.xml (NAME): Improved wording.
  (SYNOPSIS): Use <option> and <replaceable> tags.  Unify short and
              long options.  Add "--global-envs" and "--envs-for"
              options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
        "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
6
6
<!ENTITY VERSION "1.0">
7
7
<!ENTITY COMMANDNAME "plugin-runner">
8
 
<!ENTITY TIMESTAMP "2008-08-29">
 
8
<!ENTITY TIMESTAMP "2008-08-30">
9
9
]>
10
10
 
11
11
<refentry>
68
68
  <refnamediv>
69
69
    <refname><command>&COMMANDNAME;</command></refname>
70
70
    <refpurpose>
71
 
      get password for encrypted rootdisk
 
71
      Run Mandos plugins.  Pass data from first succesful one.
72
72
    </refpurpose>
73
73
  </refnamediv>
74
74
 
75
75
  <refsynopsisdiv>
76
76
    <cmdsynopsis>
77
77
      <command>&COMMANDNAME;</command>
78
 
      <arg choice='opt'>--global-options<arg choice='plain'>OPTIONS</arg></arg>
79
 
      <arg choice='opt'>--options-for<arg choice='plain'>PLUGIN:OPTIONS</arg></arg>
80
 
      <arg choice='opt'>--disable<arg choice='plain'>PLUGIN</arg></arg>
81
 
      <arg choice='opt'>--groupid<arg choice='plain'>ID</arg></arg>
82
 
      <arg choice='opt'>--userid<arg choice='plain'>ID</arg></arg>
83
 
      <arg choice='opt'>--plugin-dir<arg choice='plain'>DIRECTORY</arg></arg>
84
 
      <arg choice='opt'>--debug</arg>
85
 
    </cmdsynopsis>
86
 
    <cmdsynopsis>
87
 
      <command>&COMMANDNAME;</command>
88
 
      <arg choice='plain'>--help</arg>
89
 
    </cmdsynopsis>
90
 
    <cmdsynopsis>
91
 
      <command>&COMMANDNAME;</command>
92
 
      <arg choice='plain'>--usage</arg>
93
 
    </cmdsynopsis>
94
 
    <cmdsynopsis>
95
 
      <command>&COMMANDNAME;</command>
96
 
      <arg choice='plain'>--version</arg>
97
 
    </cmdsynopsis>    
 
78
      <group rep="repeat">
 
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>
 
85
      </group>
 
86
      <sbr/>
 
87
      <group rep="repeat">
 
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>
 
96
      </group>
 
97
      <sbr/>
 
98
      <group rep="repeat">
 
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>
 
103
      </group>
 
104
      <sbr/>
 
105
      <group rep="repeat">
 
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>
 
112
      </group>
 
113
      <sbr/>
 
114
      <group rep="repeat">
 
115
        <arg choice="plain"><option>--disable=<replaceable
 
116
        >PLUGIN</replaceable></option></arg>
 
117
        <arg choice="plain"><option>-d
 
118
        <replaceable>PLUGIN</replaceable> </option></arg>
 
119
      </group>
 
120
      <sbr/>
 
121
      <arg><option>--groupid=<replaceable
 
122
      >ID</replaceable></option></arg>
 
123
      <sbr/>
 
124
      <arg><option>--userid=<replaceable
 
125
      >ID</replaceable></option></arg>
 
126
      <sbr/>
 
127
      <arg><option>--plugin-dir=<replaceable
 
128
      >DIRECTORY</replaceable></option></arg>
 
129
      <sbr/>
 
130
      <arg><option>--debug</option></arg>
 
131
    </cmdsynopsis>
 
132
    <cmdsynopsis>
 
133
      <command>&COMMANDNAME;</command>
 
134
      <group choice="req">
 
135
        <arg choice='plain'><option>--help</option></arg>
 
136
        <arg choice='plain'><option>-?</option></arg>
 
137
      </group>
 
138
    </cmdsynopsis>
 
139
    <cmdsynopsis>
 
140
      <command>&COMMANDNAME;</command>
 
141
      <arg choice='plain'><option>--usage</option></arg>
 
142
    </cmdsynopsis>
 
143
    <cmdsynopsis>
 
144
      <command>&COMMANDNAME;</command>
 
145
      <group choice="req">
 
146
        <arg choice='plain'><option>--version</option></arg>
 
147
        <arg choice='plain'><option>-V</option></arg>
 
148
      </group>
 
149
    </cmdsynopsis>
98
150
  </refsynopsisdiv>
99
151
 
100
152
  <refsect1 id="description">
108
160
      and subsequlently started in the initrd environment. See
109
161
      <citerefentry><refentrytitle>crypttab</refentrytitle>
110
162
      <manvolnum>5</manvolnum></citerefentry> for more information on
111
 
      keyscripts.    
 
163
      keyscripts.
112
164
    </para>
113
165
 
114
166
    <para>
127
179
            Global options given to all plugins as additional start
128
180
            arguments.  Options are specified with a -o flag followed
129
181
            by a comma separated string of options.
130
 
          </para>         
 
182
          </para>       
131
183
        </listitem>
132
184
      </varlistentry>
133
185
 
140
192
            Plugin specific options given to the plugin as additional
141
193
            start arguments.  Options are specified with a -o flag
142
194
            followed by a comma separated string of options.
143
 
          </para>         
 
195
          </para>       
144
196
        </listitem>
145
 
      </varlistentry>      
 
197
      </varlistentry>
146
198
 
147
199
      <varlistentry>
148
200
        <term><literal>-d</literal>,<literal> --disable
151
203
        <listitem>
152
204
          <para>
153
205
            Disable a specific plugin
154
 
          </para>         
 
206
          </para>       
155
207
        </listitem>
156
208
      </varlistentry>
157
209
 
163
215
            Group ID the plugins will run as
164
216
          </para>
165
217
        </listitem>
166
 
      </varlistentry>      
 
218
      </varlistentry>
167
219
 
168
220
      <varlistentry>
169
221
        <term><literal>--userid <replaceable>ID</replaceable>
173
225
            User ID the plugins will run as
174
226
          </para>
175
227
        </listitem>
176
 
      </varlistentry>      
 
228
      </varlistentry>
177
229
 
178
230
      <varlistentry>
179
231
        <term><literal>--plugin-dir <replaceable>DIRECTORY</replaceable>
183
235
            Specify a different plugin directory
184
236
          </para>
185
237
        </listitem>
186
 
      </varlistentry>       
 
238
      </varlistentry>
187
239
      
188
240
      <varlistentry>
189
241
        <term><literal>--debug</literal></term>
219
271
            Prints the program version
220
272
          </para>
221
273
        </listitem>
222
 
      </varlistentry>            
 
274
      </varlistentry>
223
275
    </variablelist>
224
276
  </refsect1>
225
277
 
233
285
    <title>FILES</title>
234
286
    <para>
235
287
    </para>
236
 
  </refsect1>  
 
288
  </refsect1>
237
289
 
238
290
  <refsect1 id="notes">
239
291
    <title>NOTES</title>
245
297
    <title>BUGS</title>
246
298
    <para>
247
299
    </para>
248
 
  </refsect1>  
 
300
  </refsect1>
249
301
 
250
302
  <refsect1 id="examples">
251
 
    <title>EXAMPLES</title>
 
303
    <title>EXAMPLE</title>
252
304
    <para>
253
305
    </para>
254
306
  </refsect1>
262
314
  <refsect1 id="see_also">
263
315
    <title>SEE ALSO</title>
264
316
    <para>
 
317
      <citerefentry><refentrytitle>cryptsetup</refentrytitle>
 
318
      <manvolnum>8</manvolnum></citerefentry>,
265
319
      <citerefentry><refentrytitle>mandos</refentrytitle>
266
 
      <manvolnum>8</manvolnum></citerefentry>, <citerefentry>
267
 
      <refentrytitle>password-request</refentrytitle>
268
 
      <manvolnum>8mandos</manvolnum></citerefentry>, <citerefentry>
269
 
      <refentrytitle>password-prompt</refentrytitle>
270
 
      <manvolnum>8mandos</manvolnum></citerefentry>, and
271
 
      <citerefentry><refentrytitle>cryptsetup</refentrytitle>
272
 
      <manvolnum>8</manvolnum></citerefentry>
 
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>
273
325
    </para>
274
326
  </refsect1>
275
327