1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4
<!ENTITY COMMANDNAME "askpass-fifo">
5
<!ENTITY TIMESTAMP "2011-10-03">
6
<!ENTITY % common SYSTEM "../common.ent">
10
<refentry xmlns:xi="http://www.w3.org/2001/XInclude">
12
<title>Mandos Manual</title>
13
<!-- NWalsh’s docbook scripts use this to generate the footer: -->
14
<productname>Mandos</productname>
15
<productnumber>&version;</productnumber>
16
<date>&TIMESTAMP;</date>
19
<firstname>Björn</firstname>
20
<surname>Påhlsson</surname>
22
<email>belorn@recompile.se</email>
26
<firstname>Teddy</firstname>
27
<surname>Hogeborn</surname>
29
<email>teddy@recompile.se</email>
37
<holder>Teddy Hogeborn</holder>
38
<holder>Björn Påhlsson</holder>
40
<xi:include href="../legalnotice.xml"/>
44
<refentrytitle>&COMMANDNAME;</refentrytitle>
45
<manvolnum>8mandos</manvolnum>
49
<refname><command>&COMMANDNAME;</command></refname>
50
<refpurpose>Mandos plugin to get a password from a
56
<command>&COMMANDNAME;</command>
60
<refsect1 id="description">
61
<title>DESCRIPTION</title>
63
This program reads a password from a <acronym>FIFO</acronym> and
64
outputs it to standard output.
67
This program is not very useful on its own. This program is
68
really meant to run as a plugin in the <application
69
>Mandos</application> client-side system, where it is used as a
70
fallback and alternative to retrieving passwords from a
71
<application >Mandos</application> server.
74
This program is meant to be imitate a feature of the
75
<command>askpass</command> program, so that programs written to
76
interface with it can keep working under the
77
<application>Mandos</application> system.
81
<refsect1 id="options">
82
<title>OPTIONS</title>
84
This program takes no options.
88
<refsect1 id="exit_status">
89
<title>EXIT STATUS</title>
91
If exit status is 0, the output from the program is the password
92
as it was read. Otherwise, if exit status is other than 0, the
93
program was interrupted or encountered an error, and any output
94
so far could be corrupt and/or truncated, and should therefore
103
<term><filename>/lib/cryptsetup/passfifo</filename></term>
106
This is the <acronym>FIFO</acronym> where this program
107
will read the password. If it does not exist, it will be
115
<refsect1 id="example">
116
<title>EXAMPLE</title>
118
Note that normally, this program will not be invoked directly,
119
but instead started by the Mandos <citerefentry><refentrytitle
120
>plugin-runner</refentrytitle><manvolnum>8mandos</manvolnum>
125
This program takes no options.
128
<userinput>&COMMANDNAME;</userinput>
133
<refsect1 id="security">
134
<title>SECURITY</title>
136
The only thing that could be considered worthy of note is
137
this: This program is meant to be run by <citerefentry>
138
<refentrytitle>plugin-runner</refentrytitle><manvolnum
139
>8mandos</manvolnum></citerefentry>, and will, when run
140
standalone, outside, in a normal environment, immediately output
141
on its standard output any presumably secret password it just
142
received. Therefore, when running this program standalone
143
(which should never normally be done), take care not to type in
144
any real secret password by force of habit, since it would then
145
immediately be shown as output.
149
<refsect1 id="see_also">
150
<title>SEE ALSO</title>
152
<citerefentry><refentrytitle>intro</refentrytitle>
153
<manvolnum>8mandos</manvolnum></citerefentry>,
154
<citerefentry><refentrytitle>fifo</refentrytitle>
155
<manvolnum>7</manvolnum></citerefentry>,
156
<citerefentry><refentrytitle>plugin-runner</refentrytitle>
157
<manvolnum>8mandos</manvolnum></citerefentry>
161
<!-- Local Variables: -->
162
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
163
<!-- time-stamp-end: "[\"']>" -->
164
<!-- time-stamp-format: "%:y-%02m-%02d" -->