LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > Subjectively
User Name
Password

Notices



This blog points to articles written on http://kirk.webfinish.com. These articles are mainly about shell scripting, PHP, and postgresql on Ubuntu and OS/X.
Rate this Entry

simple bash password generator

Posted 11-24-2009 at 03:04 PM by roybal

Here's a quick way to create arbitrary length passwords on most any *nix flavor.

Password generator

/bithead
Posted in Uncategorized
Views 1680 Comments 1
« Prev     Main     Next »
Total Comments 1

Comments

  1. Old Comment
    a little bit offtopic but here's what i made to create a 1/0 simple generator using /dev/urandom also.
    like in Yes/No questions, im asking to this program sometimes xD
    Code:
    #!/bin/sh
    let v=0x`head -c 1 /dev/urandom | hd | awk '{print $2}'`
    echo $v/127 | bc
    Posted 11-24-2009 at 10:58 PM by Web31337 Web31337 is offline
 

  



All times are GMT -5. The time now is 09:39 AM.

Main Menu
Advertisement

Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration