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 "2017-02-23">
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>
44
<holder>Teddy Hogeborn</holder>
45
<holder>Björn Påhlsson</holder>
50
<refentrytitle>&COMMANDNAME;</refentrytitle>
51
<manvolnum>8mandos</manvolnum>
55
<refname><command>&COMMANDNAME;</command></refname>
56
<refpurpose>Mandos plugin to get a password from a
62
<command>&COMMANDNAME;</command>
66
<refsect1 id="description">
67
<title>DESCRIPTION</title>
69
This program reads a password from a <acronym>FIFO</acronym> and
70
outputs it to standard output.
73
This program is not very useful on its own. This program is
74
really meant to run as a plugin in the <application
75
>Mandos</application> client-side system, where it is used as a
76
fallback and alternative to retrieving passwords from a
77
<application >Mandos</application> server.
80
This program is meant to be imitate a feature of the
81
<command>askpass</command> program, so that programs written to
82
interface with it can keep working under the
83
<application>Mandos</application> system.
87
<refsect1 id="options">
88
<title>OPTIONS</title>
90
This program takes no options.
94
<refsect1 id="exit_status">
95
<title>EXIT STATUS</title>
97
If exit status is 0, the output from the program is the password
98
as it was read. Otherwise, if exit status is other than 0, the
99
program was interrupted or encountered an error, and any output
100
so far could be corrupt and/or truncated, and should therefore
105
<refsect1 id="files">
109
<term><filename>/lib/cryptsetup/passfifo</filename></term>
112
This is the <acronym>FIFO</acronym> where this program
113
will read the password. If it does not exist, it will be
123
<xi:include href="../bugs.xml"/>
126
<refsect1 id="example">
127
<title>EXAMPLE</title>
129
Note that normally, this program will not be invoked directly,
130
but instead started by the Mandos <citerefentry><refentrytitle
131
>plugin-runner</refentrytitle><manvolnum>8mandos</manvolnum>
136
This program takes no options.
139
<userinput>&COMMANDNAME;</userinput>
144
<refsect1 id="security">
145
<title>SECURITY</title>
147
The only thing that could be considered worthy of note is
148
this: This program is meant to be run by <citerefentry>
149
<refentrytitle>plugin-runner</refentrytitle><manvolnum
150
>8mandos</manvolnum></citerefentry>, and will, when run
151
standalone, outside, in a normal environment, immediately output
152
on its standard output any presumably secret password it just
153
received. Therefore, when running this program standalone
154
(which should never normally be done), take care not to type in
155
any real secret password by force of habit, since it would then
156
immediately be shown as output.
160
<refsect1 id="see_also">
161
<title>SEE ALSO</title>
163
<citerefentry><refentrytitle>intro</refentrytitle>
164
<manvolnum>8mandos</manvolnum></citerefentry>,
165
<citerefentry><refentrytitle>fifo</refentrytitle>
166
<manvolnum>7</manvolnum></citerefentry>,
167
<citerefentry><refentrytitle>plugin-runner</refentrytitle>
168
<manvolnum>8mandos</manvolnum></citerefentry>
172
<!-- Local Variables: -->
173
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
174
<!-- time-stamp-end: "[\"']>" -->
175
<!-- time-stamp-format: "%:y-%02m-%02d" -->