commit 894229c7468a042160d833e3e3c232d14c266d37 parent 67ccb7b6cadda5ffa79c931eba155465d4a7c3b7 Author: nmeum <git-nmeum@8pit.net> Date: Tue, 25 Mar 2014 16:16:20 +0100 Add EXAMPLE section to man page Diffstat:
M | README.pod | | | 18 | ++++++++++++++++++ |
1 file changed, 18 insertions(+), 0 deletions(-)
diff --git a/README.pod b/README.pod @@ -50,6 +50,24 @@ The default storage directory. =back +=head1 EXAMPLE + +Generate a random password using pwgen(1) + + $ pwgen -1 | tpm insert system/new-user + +Create a new entry called 'system/root' + + $ tpm insert system/root + +Print your 'system/root' password to stdout + + $ tpm show system/root + +Copy your 'system/root' password to the clipboard using xclip(1) + + $ tpm show system/root | tr -d '\n' | xclip + =head1 SEE ALSO gpg2(1), pass(1)