News for hackers. Stuff that matters.
Re:The Dirty Truth About Web Passwords by hieronymusN on Tuesday December 14, 2010 @01:15PM (#2005095)
On a mac you might want to try

  cat /dev/urandom | openssl base64 | head -c 12; echo;
Which can give you a nice random string.
Re:The Dirty Truth About Web Passwords by js2 on Tuesday December 14, 2010 @01:29PM (#2005151)

  openssl rand -hex 6
will give you 6 random bytes hex-encoded. Your specific command line can be done with:

  openssl rand -base64 9 | cut -c-12
Note, I think you wanted -c-12, not -c12.