The following is the GNU All-permissive License as recommended in https://www.gnu.org/licenses/license-recommendations.en.html
Copyright (C) 2024 Free Software Foundation sysadmin@fsf.org
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.
Contributions are welcome. See https://savannah.gnu.org/maintenance/fsf/.
pwgen
pwgen is a password generator.
To generate 5 lines of secure 20 character passwords:
pwgen -s -1 20 5
To generate an xkcd style password using your computer's dictionary, use this command:
shuf -n 6 /usr/share/dict/words | sed -e s/"'"//g | tr '\n' ' ' | sed 's/ //g' && echo \
Change shuf -n 6
to adjust the word length.
Another dictionary:
shuf -n3 /usr/share/hunspell/en_US.dic | sed 's,/.*,,' | paste -sd . -