GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
PWSAFE(1) PWSAFE(1)

pwsafe - commandline password database utility compatible with Counterpane's Passwordsafe

pwsafe [options] command [arg]

pwsafe manipulates Counterpane Passwordsafe username/password databases.

It is compatible with Counterpane Passwordsafe 1.9.x and 2.0 databases.

pwsafe accepts the following commands:

Create a new database.
Export database as text.
Merge DATABASE_FILE into database. Common entries are merged interactively.
Change the database's passphrase.
List all [matching] entries in database. If -u or -p is given then REGEX must match only one entry, and only the requested field(s) are emitted.
Add an entry to database.
Edit an entry.
Delete an entry from database.

pwsafe accepts the following options:

Specify the database to manipulate. Default is $HOME/.pwsafe.dat
Specify the database's version. Default is 2.
REGEX is case-sensative. Any uppercase character in REGEX implies --case.
Show login and notes in list output.
Show username of listed account(s).
Show password of listed accounts(s).
Force echo'ing of entry to stdout. This is selected by default if $DISPLAY is not set.
Paste username and password twice to work around Chrome browser weirdness.
Redirect username and password output to FILE. Implies --echo.
Force copying of username and password to X clipboard. This is selected by default if $DISPLAY is set.
Override $DISPLAY. Implies --xclip.
Select the X selection effected. Default is Both primary and clipboard. Implies --xclip.
Add NAME to windows or hosts that do not receive the selection. If just NAME is given it matches any host, and if just @HOST is given it matches any name.
Use external PROGRAM to request the database password(s) from the user. /usr/bin/ssh-askpass is one such program.
Print more information.
Print less information. In fact, print only exactly what was requested.
Show summary of options.
Show version of program.

Default database file. If this is a relative path it is assumed to be relative to $HOME. Defaults to ".pwsafe.dat". Overridden by -f.
Default user. Defaults to $USER or $LOGNAME.
Overrides built-in --ignore list. --ignore overrides. Format is a list of --ignore arguments, seperated by colons (':').
Used to locate the default database "~/.pwsafe.dat" and default RANDFILE "~/.rnd".
Used to locate the random number generator entropy pool file. Defaults to "$HOME/.rnd".

~/.pwsafe.dat
The password database.
~/.pwsafe.dat~
Backup of database.
~/.rnd
Random number generator's entropy pool.

Use a good password for your database.

Don't use pwsafe over telnet or from untrusted terminals.

To seed RANDFILE decently, do something like
md5sum /var/log/* >~/.rnd

For those who can't read the rest of this file:

pwsafe --createdb

pwsafe -a test

pwsafe -up test

pwsafe --mergedb $HOME/.pwsafe.dat --dbversion 2

Nicolas S. Dade <nic.dade@gmail.com>.

Report bugs at https://github.com/nsd20463/pwsafe or to <nic.dade@gmail.com>.

Copyright (c) 2004-2020 Nicolas S. Dade.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

https://github.com/nsd20463/pwsafe
http://passwordsafe.sourceforge.net/, http://www.counterpane.com/

0.2.2beta Nicolas S. Dade <nic.dade@gmail.com>

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.