From 26954271ebaf36816191aeede1763b84b48b8270 Mon Sep 17 00:00:00 2001 From: Marcel Bischoff Date: Fri, 10 Jun 2016 21:05:09 +0200 Subject: [PATCH] Better password generation --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 2a70269..8562aff 100644 --- a/README.md +++ b/README.md @@ -1089,9 +1089,8 @@ spctl --remove /path/to/Application.app ### Passwords #### Generate Secure Password and Copy to Clipboard -First, install `pwgen` via Homebrew, etc. ```bash -pwgen -Cs 20 1 | tr -d ' ' | tr -d '\n' | pbcopy +tr -dc A-Za-z0-9_ < /dev/urandom | head -c 20 | pbcopy ``` ### Physical Access