Occasionally, I find myself logged into a system that does not have a random password application installed and do not want to go to the trouble of downloading one. Below is the easiest processes that I have found to generate a pretty random password from any Linux variant.
To begin, strait from the Linux man page:
/dev/random
When read, the /dev/random device will only return random bytes within the estimated number of bits of noise in the entropy pool. /dev/random should be suitable for uses that need very high quality randomness such as one-time pad or key generation. When the entropy pool is empty, reads from /dev/random will block until additional environmental noise is gathered.
/dev/urandom
A read from the /dev/urandom device will not block waiting for more entropy. As a result, if there is not sufficient entropy in the entropy pool, the returned values are theoretically vulnerable to a... ... leer más en >>> blog.colovirt.com
