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 "1 Jan 2008" "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>] | \-p <password>] [\-c <name>] [\-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 Use the specified password.
68 Send the SAVE command before exiting.
71 Writes the results of successful commands to the specified file descriptor.
72 This may be needed if your using pinentry to retrieve a password but
73 redirecting command results.
75 Reads INQUIRE data from the specified file descriptor. Use this rather than
76 piping large amounts of data to save memory.
79 Sets the client name to the specified string which will show up in log
89 To list the available accounts and use
93 echo list | pwmc filename
96 To store an element path and save the file afterwards:
98 echo -e 'store isp\\tsmtp\\thostname\\tsomehost.com' | pwmc -S filename
103 echo -en 'store blah\\tstuff\\t' | pwmc -S -I 3 filename 3<data_file
105 Then to get the content:
107 echo -e 'get blah\\tstuff' | pwmc filename
110 Clear the file cache for a single file:
112 echo 'clearcache filename' | pwmc
118 Default socket to connect to.
121 Ben Kibbey <bjk@luxsci.net>
123 .URL "http://bjk.sourceforge.net/pwmd/" "PWMD Homepage" .