viernes, 9 de enero de 2015

random password commands in Linux

This is an alternative to generate random password, in general you may use this whether:

1. you use the same password for all your accounts (that's not a good idea)
2. you are a programmer and in you need a random password generator for sign-up process

in those cases, you may use this commands:

1. makepasswd, it uses /dev/urandom to generate them, here the first steps to use it:

  -sudo apt-get install makepasswd
  -makepasswd --chars 16  -> generate password with a length of 16 characters, you may change it.
   -makepasswrd --chars 16 --count 5 -> it will generate a list of five different passwords


2. pwgen: generate readable passwords ( use your imagination, many of them seems unreadable for me)

  -sudo apt-get install pwgen
  -pwgen 16 2  -> it will generate 2 passwords with 16 chars of length.

That's all, whether you're interest to explore more parameters for these commands, please use man

Cheers

No hay comentarios:

Publicar un comentario