We all know the best way to have a secure password is for it to be random. There are a ton of sites out there that will give you a password, but your Linux command line can do it for you with one command. You may need to install it with your favorite package manager:

$ sudo apt-get install makepasswd

$ makepasswd
JAvMdvMu

Here’s a readout of the man page:

makepasswd v1.10, a utility to generate and/or encrypt passwords.

Copyright (c) 1997-1999 by Rob Levin <levin@openproject.net>.  All rights are reserved by
the author.  This program may be used under the terms of version 2 of the
GNU Public License.

Last modified on Monday, 7 April 1999 at 22:56 (UCT).

Format:          makepasswd [option...]

Options are:

--chars=N        Generate passwords with exactly N characters (do not use with
                       options --minchars and --maxchars).
--clearfrom=FILE Use a clear password from FILE instead of generating passwords.
                       Requires the --crypt or --crypt-md5 option; may not be
                       used with options --chars, --maxchars, --minchars,
                       --count, --string, --nocrypt.  Trailing newlines are
                       ignored, other whitespace is not.
--count=N        Produce a total of N passwords (the default is one).
--crypt          Produce encrypted passwords.
--crypt-md5      Produce encrypted passwords using the MD5 digest (hash)
                       algorithm.
--cryptsalt=N    Use crypt() salt N, a positive number <= 4096.  If random
                       seeds are desired, specify a zero value (the default).
--help           Ignore other operands and produce only this help display.
--maxchars=N     Generate passwords with at most N characters (default=10).
--minchars=N     Generate passwords with at least N characters (default=8).
--nocrypt        Do not encrypt the generated password(s) (the default).
--noverbose      Display no labels on output (the default).
--randomseed=N   Use random number seed N, between 0 and 2^32 inclusive.  A zero
                       value results in a real-random seed.  This option
                       generates predictable passwords, and should normally
                       be avoided.
--rerandom=N     Set the random seed value every N values used.  Specify zero
                       to use a single seed value (the default).  Specify
                       one to get true-random passwords, but plan on hitting
                       the CONTROL key a lot while it's running. ;)
--repeatpass=N   Use each password N times (4096 maximum, --crypt or
                       --crypt-md5 must be set and --cryptsalt may not be set).
--string=STRING  Use the characters in STRING to generate random passwords.
--verbose        Display labelling information on output.

Posted by Chris Klosowski

Chris Klosowski is the Director of Technology at Sandhills Development, LLC, creators of fine WordPress plugins, and ecommerce solutions.

33 Comments

  1. If some one needs expert view about blogging
    afterward i advise him/her to pay a quick visit this blog,
    Keep up the pleasant job.

    Reply

  2. Heya i’m for the first time here. I came across this board and I
    find It really useful & it helped me out much. I hope to give something back and
    help others like you aided me.

    Reply

  3. how to order generic cialis – generic cialis usa express pharmacy

    Reply

  4. super p viagra viagra in los angeles ViagraCND100Mg – cost of viagra at costco

    Reply

  5. gnc viagra viagra onlinee scyjpym – viagra posted

    Reply

  6. viagra over the counter canada viagra canadian generic jddoifz – generic viagra suppliers

    Reply

  7. prednisone in uk can you buy prednisone – where can i buy prednisone without a prescription

    Reply

  8. amoxicillin medicine over the counter order amoxil – generic amoxicillin cost

    Reply

  9. buy zithromax online buy zithromax – purchase zithromax z-pak

    Reply

  10. amoxicillin azithromycin order amoxil – where to buy amoxicillin 500mg

    Reply

  11. where to buy zithromax in canada cheap azitromycin – can you buy zithromax over the counter in australia

    Reply

  12. ivermectin 3 mg tablet dosage stromectol ivermectin for humans – ivermectin 3

    Reply

  13. purchase stromectol online stromectol tablets – generic ivermectin for humans

    Reply

  14. ivermectin stromectol stromectol for sale – ivermectin otc

    Reply

  15. ivermectin where to buy for humans ivermectin pills for humans – ivermectin over the counter canada

    Reply

  16. buy stromectol online ivermectin 12 mg tablets for sale – order stromectol

    Reply

  17. stromectol tablets buy stromectol online – stromectol liquid

    Reply

  18. medicines for ed best ed pill – drug prices

    Reply

  19. best ed treatments prescription drugs without doctor approval – best medication for ed

    Reply

  20. ed trial pack prescription drugs online without doctor – ed medication online

    Reply

  21. the best ed pills erectal disfunction – erectile dysfunction treatment

    Reply

  22. buy online pharmacy prescription meds without the prescriptions – erectile dysfunction medication

    Reply

  23. lexapro 10 mg tablet Escitalopram – buy lexapro australia

    Reply

  24. plaquenil 100 buy plaquenil – hydroxychloroquine tablets ip 400 mg

    Reply

  25. stromectol medicine where to buy ivermectin – ivermectin 3 mg tabs

    Reply

  26. where can i buy generic lexapro lexapro generic – where can i purchase lexapro online

    Reply

  27. stromectol 6 mg tablet ivermectin – generic ivermectin for humans

    Reply

  28. plaquenil 200 cost buy plaquenil – plaquenil nz

    Reply

  29. clomid cost buy clomid – clomid cost

    Reply

  30. cialis results cialis pills – cialis cheap online

    Reply

  31. Howdy! This is my first visit to your blog! We are a group of volunteers and starting a new project in a community
    in the same niche. Your blog provided us useful information to work on. You have done a outstanding job!

    Reply

Leave a reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.