How to create strong passwords with pwgen

Passwords exist to protect our data, but they are not always as good as they should be. Every time you type your dog's name or your birthday in a password field you should feel a chill.

A good tool for creating random passwords y safe es pwgen. A free and free software with which you can generate random passwords.


PWGen allows you to choose the length of your password, the set of characters to create it and if we want to include sets of words (in English). With all this we can generate a password, or a greater number of passwords with the same characteristics.

Its installation is very simple:

sudo apt-get install pwgen

Some of the most used options of the utility are the following:

-0, –no-numerals: Do not include numbers in generated passwords.
-A, –no-capitalize: Do not include uppercase letters in generated passwords.
-B, –ambiguous: Does not include any characters that can cause confusion (such as 1 and l, O and 0)
-y, –symbols: Insert in the generated password at least one special character (like * $ =!?%…)
-n, –numerals: Insert at least one number in the generated password.
-s, –secure: Generates a totally random password, very difficult to memorize.

A couple of usage examples:

pwgen 12 3

It will generate 3 passwords with 12 characters each.

pwgen -Bncy 9 1

Pwgen is especially useful if we want very strong passwords in a couple of clicks. In this sense, the most interesting thing is that this program is also available as firefox extension.


4 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   angelica lovera said

    utilisim @ jojooooo

  2.   nomail said

    Very useful! thanks!

  3.   sieg84 said

    sudo zypper in pwgen, quite useful the program

  4.   Let's use Linux said

    That's right ... very cool.
    So I decided to share the information.
    Hug! Paul.