diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-02 19:09:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-01-02 19:09:52 +1300 |
commit | dff803a898aec46de16b449261fc49cef923dbf5 (patch) | |
tree | 0b15bd3e02da47f8c3738a5d06befcf3ec7b4032 | |
parent | Soothe shellcheck about new marked dirs funcs (diff) | |
download | dotfiles-dff803a898aec46de16b449261fc49cef923dbf5.tar.gz dotfiles-dff803a898aec46de16b449261fc49cef923dbf5.zip |
Get 16-char passwords from pwg(1df)
-rwxr-xr-x | bin/pwg | 2 | ||||
-rw-r--r-- | man/man1/pwg.1df | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -2,6 +2,6 @@ # Shortcut to generate just one strong password with pwgen(1) # If any arguments are provided, those are used instead if [ "$#" -eq 0 ] ; then - set -- --secure -- "${PWGEN_LENGTH:-15}" "${PWGEN_COUNT:-1}" + set -- --secure -- "${PWGEN_LENGTH:-16}" "${PWGEN_COUNT:-1}" fi pwgen "$@" diff --git a/man/man1/pwg.1df b/man/man1/pwg.1df index 3bc2e777..0d1c243c 100644 --- a/man/man1/pwg.1df +++ b/man/man1/pwg.1df @@ -7,9 +7,9 @@ .SH DESCRIPTION .B pwg with no arguments runs pwgen(1) with the --secure options and arguments for one -password of fifteen alphanumeric characters, to avoid pwgen(1)'s unusual -default of generating very many relatively low-quality passwords, which is -never what the author wants. +password of 16 alphanumeric characters, to avoid pwgen(1)'s unusual default of +generating very many relatively low-quality passwords, which is never what the +author wants. .P If any arguments are provided, it simply passes these to pwgen(1) untouched. .SH AUTHOR |