root@db-server:~# pwgen -h
usage: pwgen [ options ] [ pw_length ] [ num_pw ]
options supported by pwgen:
-c or –capitalize
include at least one capital letter in the password
-a or –no-capitalize
dont include capital letters in the password
-n or –numerals
include at least one number in the password
-0 or –no-numerals
dont include numbers in the password
-y or –symbols
include at least one special symbol in the password
-s or –secure
generate completely random passwords
-b or –ambiguous
dont include ambiguous characters in the password
-h or –help
print a help message
-h or –sha1=path/to/file[#seed]
use sha1 hash of given file as a (not so) random generator
-c
print the generated passwords in columns
-1
dont print the generated passwords in columns
-v or –no-vowels
do not use any vowels so as to avoid accidental nasty words
root@db-server:~# pwgen -c
xu3aiquu choo2aij ohch3eip ou8ofeel ayai5thi iet3eene ieth1dei mairah0o
gad9ooth fabohz6e oojee3oo thiec4ah ahb1iedi sah7ahth kainee4o beew7eew
eedoha1b eom3aiph daigee2i aog4gei8 siejoo9o eemahk6a erur1aim ohbu6thi
ae0ohbai ehai9go0 ni0iye4k ais0eedo ki3aiku4 cue7aexi ao3lae5o oot2ahth
yiev2lei ingeeth5 aebi1sai quahh0ei wei3aep5 bohng8ae eecuor5i kie1eith
hiepa7th uchaith5 eix5echi reir4ele rawaic5l ahk6fae1 eid5aen2 saep4voh
irea6quo iakoh7pi eiphoo1o pie9neir aj2thied mi3shugh oingi8oo vohthoo3
eph6eed1 ibooc3ux wo5tapha ceigh8ah eex7ae6r aeb1phoo zohquo9h ahphaig5
daenu0ue qui2feph quet5wo7 fooquo1m vei4ceej nie3nae2 ipahla7e ku6ahbuf
oong2ye8 eij2haej ohchie4i oowah4oz utaim8sh hah3oong iequ1pai aewai8mi
waip3aiz hi0se4ai boon0azi ir0eicee theeth5n aefo4air tah7teef aogh3quo
iya6eigo ie9heegh aeyoh9bo eixoos4z yez7obai doosei4w sapeebe8 ood1cahc
ie5ohf1s goonoob2 aiy9wu7w oeh3sa5v eith9vai iyahs1fu she5oogi kohsha7e
deeleit4 eibie0th ou4deihi pai0oluk vae6baih doocee5e ahd2iex3 eil9airu
zeinou0c uu4bairi ahx2eew2 ashai0ee yae0aita paph4air ich4nei4 mooph1ch
ez0aitha hoo8gaeh aitha3ga quaif7ei iel9oafu cai0id2u eecul0qu oochae0a
vuk1she4 bai3ohte aichah9v mohz7iyo zaeyoo8j xah4ohhi ohz1ohw6 eed0aeko
tooqu3ar eih8rata wiech2ub nomooch6 ahv8boo3 zea2gei4 oam4eile cier9iev
baereef9 iom2the0 foe3ieza zaingat4 do1bah7r atuyom2u eequ1lie chaexo2j
eiza0aed leimuol0 eid5yu5c ahp4ahtu oobiesh2 av8iaxoh yeid0eej goor1aey
root@db-server:~# pwgen -1
au9ni2fa