Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This might come in handy:

shuf -n4 /usr/share/dict/words | tr '\n' ' '



If you allow multiple occurrences of the same word, you can get slightly higher entropy while making the passwords potentially even easier to remember.

    echo $(for i in 1 2 3 4; do shuf -n1 /usr/share/dict/words; done)
(Sorry, I'm not very good at bash, so this loop is probably not idiomatic.)


for i in `seq 1 4`; :)


If this is golf, you took two more strokes than he did.


Thanks. By the way, $(seq 4) is enough.


I don't think those words are very practical. For example, 4 consecutive runs produced:

shippon preannouncer half-hourly withgang egotize baffs chapter monolater photoengraver beachhead linguidental autoheader hazeled defloration exhumate barretries

none of which seem particularly easy to remember (or spell even).


It's like with any other program supposed to help you picking up a password; you run it a couple of times until you find something that ticks.

  Beirut ejecting sidings mourns




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: