diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-11 04:50:41 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2012-09-11 05:02:19 +0200 |
commit | 3fc5b0c09ba3293d6b0d041bd09d6cc260c1efde (patch) | |
tree | aedf41583c26e1880177b785c27fa1d499a4ad1a /man/pass.1 | |
parent | e323fbb41a1252d64ff3017b434b5da719ab4d48 (diff) | |
download | pass-3fc5b0c09ba3293d6b0d041bd09d6cc260c1efde.tar.gz pass-3fc5b0c09ba3293d6b0d041bd09d6cc260c1efde.tar.bz2 pass-3fc5b0c09ba3293d6b0d041bd09d6cc260c1efde.zip |
Add an edit mode that uses $EDITOR.
This allows users to edit password files using temporary files created
in /dev/shm. This commit also tidies other things up and fixes minor
bugs and griviences that should be separate commits but aren't.
Reported-by: rupa <rupa@lrrr.us>
Diffstat (limited to '')
-rw-r--r-- | man/pass.1 | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -77,6 +77,15 @@ disable keyboard echo when the password is entered and confirm the password by a for it twice. If \fI--multiline\fP or \fI-m\fP is specified, lines will be read until EOF or Ctrl+D is reached. Otherwise, only a single line from standard in is read. .TP +\fBedit\fP \fIpass-name\fP +Insert a new password or edit an existing password using the default text editor specified +by the environment variable \fBEDITOR\fP or using +.BR vi (1) +as a fallback. This mode makes use of temporary files for editing, but care is taken to +ensure that temporary files are created in \fB/dev/shm\fP in order to avoid writing to +difficult-to-erase disk sectors. If \fB/dev/shm\fP is not accessible, fallback to +the ordinary \fBTMPDIR\fP location, and print a warning. +.TP \fBgenerate\fP [ \fI--no-symbols\fP, \fI-n\fP ] [ \fI--clip\fP, \fI-c\fP ] \fIpass-name pass-length\fP Generate a new password using .BR pwgen (1) |