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 "10 Dec 2007" "Password Manager Client" "Password Manager Client"
21 pwmc \- send commands to pwmd
24 [\-hvX] [\-s <socket>] [[\-P <pinentry_path>] [\-D <display>] [\-T
25 <tty>] [\-N <term>] [\-t <seconds>] | \-p <password>] [\-S] [\-d <fd>]
34 Commands are read from standard input.
39 Disable showing of status messages from the server. By default they are
42 Connect to the specified socket. The default is \fB~/.pwmd/socket\fR.
47 program. The default is specified at
52 The pinentry display to use.
55 The full path of the tty for pinentry to use.
58 The terminal type for pinentry to use. This is required when using
62 isn't attached to a terminal.
65 When opening a file and a password is required,
67 will timeout after the specified amount of seconds. When saving a file and a
68 password is required, no timeout will be used even if specified.
71 Use the specified password.
74 Send the SAVE command before exiting.
77 Writes the results of successful commands to the specified file descriptor.
78 This may be needed if your using pinentry to retrieve a password but
79 redirecting command results.
81 Reads INQUIRE data from the specified file descriptor. Use this rather than
82 piping large amounts of data to save memory.
91 To list the available accounts and use
95 echo list | pwmc filename
98 To store an element path and save the file afterwards:
100 echo -e 'store isp\\tsmtp\\thostname\\tsomehost.com' | pwmc -S filename
105 echo -en 'store blah\\tstuff\\t' | pwmc -S -I 3 filename 3<data_file
107 Then to get the content:
109 echo -e 'get blah\\tstuff' | pwmc filename
112 Clear the file cache for a single file:
114 echo 'clearcache filename' | pwmc
120 Default socket to connect to.
123 Ben Kibbey <bjk@luxsci.net>
125 .URL "http://bjk.sourceforge.net/pwmd/" "PWMD Homepage" .