aboutsummaryrefslogtreecommitdiff
path: root/bin/gen-password
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gen-password')
-rwxr-xr-xbin/gen-password2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gen-password b/bin/gen-password
index 758845c..244d971 100755
--- a/bin/gen-password
+++ b/bin/gen-password
@@ -69,6 +69,6 @@ shift $((OPTIND - 1))
LENGTH="${1:-999}"
-tr -cd '[:alnum:]' < /dev/random |
+tr -cd '[:alnum:]' < /dev/urandom |
fold -w "$LENGTH" |
head -n1