1 .\" This program is free software; you can redistribute it and/or modify
2 .\" it under the terms of the GNU General Public License as published by
3 .\" the Free Software Foundation; either version 2 of the License, or
4 .\" (at your option) any later version.
6 .\" This program is distributed in the hope that it will be useful,
7 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
8 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9 .\" GNU General Public License for more details.
11 .\" You should have received a copy of the GNU General Public License
12 .\" along with this program; if not, write to the Free Software
13 .\" Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
15 \\$2 \(laURL: \\$1 \(ra\\$3
17 .if \n[.g] .mso www.tmac
18 .TH PWMD 1 "21 Jun 2008" "Password Manager Client" "Password Manager Client"
21 pwmc \- send a command to pwmd
24 [\-hvX] [\-s <socket>] [[\-P <pinentry_path>] [\-D <display>] [\-T
25 <tty>] [\-N <term>] | \-p <password>] [\-c <name>] [\-S [\-i <iter>]]
26 [\-t <seconds>] [\-d <fd>]
35 A command is read from standard input and output is sent to either a file
36 descriptor or standard output.
41 Disable showing of status messages from the server. By default they are
44 Connect to the specified socket. The default is \fB~/.pwmd/socket\fR.
47 The number of seconds before pinentry will terminate while waiting for a
48 password. If not specified the server default will be used.
53 program. The default is specified at
58 The pinentry display to use.
61 The full path of the tty for pinentry to use.
64 The terminal type for pinentry to use. This is required when using
68 isn't attached to a terminal.
71 Use the specified password. When not specified and the file is not cached,
76 Send the SAVE command before exiting.
79 Encrypt with the specified number of iterations when saving. Note that
80 \fI-1\fP disables encryption and that \fI0\fP is really 1 iteration.
83 Writes the result of a command to the specified file descriptor. This may be
84 needed if your using pinentry to retrieve a password but redirecting standard
87 Reads INQUIRE data from the specified file descriptor. Use this rather than
88 piping large amounts of data to save memory.
91 Sets the client name to the specified string which will show up in log
101 To list the available accounts and use
105 echo list | pwmc filename
108 To store an element path and save the file afterwards:
110 echo -ne 'store isp\\tsmtp\\thostname\\tsomehost.com' | pwmc -S filename
115 echo -en 'store blah\\tstuff\\t' | pwmc -S -I 3 filename 3<data_file
117 And then to get the content:
119 echo -e 'get blah\\tstuff' | pwmc filename
122 Clear the file cache for a single file:
124 echo 'clearcache filename' | pwmc
130 Default socket to connect to.
133 Default location of the
138 Ben Kibbey <bjk@luxsci.net>
140 .URL "http://bjk.sourceforge.net/pwmd/" "PWMD Homepage" .