Random
- random.bsh
- urandom_password
Uses /dev/urandom
to generate a random password
- Arguments:
[
$1
] - Length of the generated password. Default: 20[
$2
] - Set of character to use. Usingtr
syntax. Default:[:graph:]
- Output:
stdout - Outputs the password, no newline added.
Note
Does not support unicode, uses iso-8859-1