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 02111-1307 USA
15 \\$2 \(laURL: \\$1 \(ra\\$3
17 .if \n[.g] .mso www.tmac
18 .TH PWMD 1 "11 Jul 2007" "Password Manager Client" "Password Manager Client"
21 pwmc \- send commands to pwmd
24 [\-hv] [\-E] [\-s <socket>] [\-a [-P pinentry_path] | \-p <password>] [\-S] [filename]
30 client for \fBpwmd\fR. Commands are read line-by-line from stdin until an EOF
31 occurs. Element values that contain newline or tab characters should be base64
34 utility can do this and can also make the base64 encoded string on one line
35 with the 'base64 -A' switch.
40 Exit after a command failure.
43 Connect to the specified socket. The default is \fB~/.pwmd/socket\fR.
48 for password retrieval.
53 program. \fBlibpwmd\fP defaults to \fI/usr/bin/pinentry\fP.
56 Use the specified password.
59 Send the SAVE command after EOF.
68 To list the available accounts and use
72 echo list | pwmc -a filename
75 To store an element path and save the file afterwards:
77 echo -e 'store isp\\tsmtp\\thostname\\tsomehost.com' | pwmc -S filename
80 Clear the file cache for a single file:
82 echo 'clearcache filename' | pwmc
85 Multiple commands in one instance:
87 echo -e 'get isp\\tsmtp\\thostname\\nget isp\\tusername' | pwmc filename
93 Default socket to connect to.
96 Default location of the pinentry binary.
100 Ben Kibbey <bjk@luxsci.net>
102 .URL "http://bjk.sourceforge.net/pwmd/" "PWMD Homepage" .