Better password generation

This commit is contained in:
Marcel Bischoff 2016-06-10 21:05:09 +02:00 committed by GitHub
parent f47523f18f
commit 26954271eb

View File

@ -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