Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am looking for something that has an usage like

passgen <length> <charset>
share|improve this question

2 Answers 2

up vote 1 down vote accepted

Cross-Platform: Using PERL

There's a PERL password generator that works for Windows, *nix, OS X, etc.

Usage: genpass [-OPTIONS] LENGTH
-s, --symbols       Exclude symbol characters.
-n, --numbers       Exclude number characters.
-u, --uppercase     Exclude uppercase characters.
-l, --lowercase     Exclude lowercase characters.

On Windows, it can be converted into an executable.


Not specifically what you want, but could also come in useful. In the command line, type:

net user administrator /random    

enter image description here


See answers of this question: Random password generator: many, in columns, on command line, in Linux

share|improve this answer, converts a perl script to an executable. So problem solved. –  John May 9 '11 at 11:28
@johnthexiii Oh, nice. I added it to the answer for later reference. –  slhck May 9 '11 at 11:42

Take a look at SecurePassword Kit command line password generator. It has the follwing syntax:

gspk.exe /g [-l:password_length] [-a:charset_options] 
share|improve this answer
Read this post, you must. –  KronoS Apr 17 '13 at 17:20

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.