Sunday, October 28, 2012

Creating complex password

There could be multiple ways to create Complex password using Linux OS. Here are couple of simple ways with sample execution to create complex password of length 8 characters:

linuxhost $ openssl rand -base64 6
linuxhost $ < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c8; echo
linuxhost $

Scripted version, where you can define the characters that you require in the password:

No comments:

Post a Comment