Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. cat /dev/urandom | tr -dc 'a-zA-Z0-9-_!@#$%^&*()_+{}|:<>?=' | fold -w 12 | head -n 4
  2.  
  3. # apg -c random_seed
  4. dordififId
  5. riHegyipju
  6. Noafrathvu
  7. IchJinCet
  8. utadwulb
  9. ethFench
  10.  
  11. # apg -c random_seed -n 1 -d
  12. AkKijNayn
  13.  
  14. # apg -c random_seed -n 1 -d
  15. aicWajbyRorp42863:~# apg -c random_seed -l
  16. FrogQuev Foxtrot-romeo-oscar-golf-Quebec-uniform-echo-victor
  17. cecNeiv1 charlie-echo-charlie-November-echo-india-victor-ONE
  18. SkudVolt Sierra-kilo-uniform-delta-Victor-oscar-lima-tango
  19. TowUlripab Tango-oscar-whiskey-Uniform-lima-romeo-india-papa-alfa-bravo
  20. Bytquigpey Bravo-yankee-tango-quebec-uniform-india-golf-papa-echo-yankee
  21. Doithneb Delta-oscar-india-tango-hotel-november-echo-bravo
  22.  
  23. pwgen 10
  24.  
  25. pwgen -s 10
  26.  
  27. pwgen -sy 10
  28.  
  29. mkpasswd -l 10
  30. # will make a randon password with 10 chars - you may need to install it ...
  31.  
  32. #Chars allowed in password (I don't like l,o,O, etc):
  33. P="0123456789ABCDEFGHIJKLMNPQRSTUVWXYZabcdefghijkmnpqrstuvwxyz"
  34.  
  35. #Or such:
  36. #P="a-zA-Z0-9"
  37.  
  38. #The string pasted as $P$P$P... must be at least 256 chars long.
  39.  
  40. head -c 8 < /dev/urandom | tr '00-377' "$P$P$P$P$P"
  41. echo
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement