Random Password Generation
I have a question. This isn't so much a technical "how do I", as much as a poll-type "how do *you*" sort of question.
Here's the deal. I've used pwgen pretty heavily in the past, but as I dig deeper into the minimalist mindset and configuration I'd like to move further away from additional packages unless I just can't avoid it (i.e. use stuff in base as much as is feasible).
For instance, one could do:
dd if=/dev/urandom of=/dev/stdout bs=12 count=1 2>/dev/null | b64encode -
to generate a nice pseudorandom 16 character password. I know there are a multitude of ways to accomplish this, but I was curious what others were using.
Note, I'm not a huge fan of using `date` as "random" input, since it's effectively not terribly random (if you use second precision, you only have 86400 values you can choose from), so I'd like to stick to higher quality pseudorandom password generation.
Linux Admin by Profession. OpenBSD user by choice.
|Thread||Thread Starter||Forum||Replies||Last Post|
|random OS comparisons||barti||Other BSD and UNIX/UNIX-like||22||21st December 2013 08:10 PM|
|Wikimedia adopts Lua for page generation||J65nko||News||0||18th March 2013 08:52 PM|
|KLANG - Kernel Level Audio Next Generation||vermaden||News||0||2nd August 2012 09:54 PM|
|TCP sequence number generation vulnerability patch for netbsd3.0||nagesh||NetBSD Security||0||16th March 2012 05:43 PM|
|Automating patch generation and application for configuration files||J65nko||Guides||5||25th January 2010 03:58 AM|