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 "2019-02-10">
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>
46
<holder>Teddy Hogeborn</holder>
47
<holder>Björn Påhlsson</holder>
52
<refentrytitle>&COMMANDNAME;</refentrytitle>
53
<manvolnum>8mandos</manvolnum>
57
<refname><command>&COMMANDNAME;</command></refname>
58
<refpurpose>Mandos plugin to get a password from a
64
<command>&COMMANDNAME;</command>
68
<refsect1 id="description">
69
<title>DESCRIPTION</title>
71
This program reads a password from a <acronym>FIFO</acronym> and
72
outputs it to standard output.
75
This program is not very useful on its own. This program is
76
really meant to run as a plugin in the <application
77
>Mandos</application> client-side system, where it is used as a
78
fallback and alternative to retrieving passwords from a
79
<application >Mandos</application> server.
82
This program is meant to be imitate a feature of the
83
<command>askpass</command> program, so that programs written to
84
interface with it can keep working under the
85
<application>Mandos</application> system.
89
<refsect1 id="options">
90
<title>OPTIONS</title>
92
This program takes no options.
96
<refsect1 id="exit_status">
97
<title>EXIT STATUS</title>
99
If exit status is 0, the output from the program is the password
100
as it was read. Otherwise, if exit status is other than 0, the
101
program was interrupted or encountered an error, and any output
102
so far could be corrupt and/or truncated, and should therefore
107
<refsect1 id="files">
111
<term><filename>/lib/cryptsetup/passfifo</filename></term>
114
This is the <acronym>FIFO</acronym> where this program
115
will read the password. If it does not exist, it will be
125
<xi:include href="../bugs.xml"/>
128
<refsect1 id="example">
129
<title>EXAMPLE</title>
131
Note that normally, this program will not be invoked directly,
132
but instead started by the Mandos <citerefentry><refentrytitle
133
>plugin-runner</refentrytitle><manvolnum>8mandos</manvolnum>
138
This program takes no options.
141
<userinput>&COMMANDNAME;</userinput>
146
<refsect1 id="security">
147
<title>SECURITY</title>
149
The only thing that could be considered worthy of note is
150
this: This program is meant to be run by <citerefentry>
151
<refentrytitle>plugin-runner</refentrytitle><manvolnum
152
>8mandos</manvolnum></citerefentry>, and will, when run
153
standalone, outside, in a normal environment, immediately output
154
on its standard output any presumably secret password it just
155
received. Therefore, when running this program standalone
156
(which should never normally be done), take care not to type in
157
any real secret password by force of habit, since it would then
158
immediately be shown as output.
162
<refsect1 id="see_also">
163
<title>SEE ALSO</title>
165
<citerefentry><refentrytitle>intro</refentrytitle>
166
<manvolnum>8mandos</manvolnum></citerefentry>,
167
<citerefentry><refentrytitle>fifo</refentrytitle>
168
<manvolnum>7</manvolnum></citerefentry>,
169
<citerefentry><refentrytitle>plugin-runner</refentrytitle>
170
<manvolnum>8mandos</manvolnum></citerefentry>
174
<!-- Local Variables: -->
175
<!-- time-stamp-start: "<!ENTITY TIMESTAMP [\"']" -->
176
<!-- time-stamp-end: "[\"']>" -->
177
<!-- time-stamp-format: "%:y-%02m-%02d" -->