blob: 97af3df45e1fe0b8cc1a72af219534edd7607c99 (
plain) (
tree)
|
|
#!/bin/sh
# 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:-16}" "${PWGEN_COUNT:-1}"
fi
pwgen "$@"
|