<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to generate random password using Bash shell scripting</title>
	<atom:link href="http://www.techpulp.com/blog/2009/01/how-to-generate-random-password-using-bash-shell-scripting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.techpulp.com/blog/2009/01/how-to-generate-random-password-using-bash-shell-scripting/</link>
	<description>The pulp of technology</description>
	<lastBuildDate>Sat, 12 May 2012 22:10:13 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: mike</title>
		<link>http://www.techpulp.com/blog/2009/01/how-to-generate-random-password-using-bash-shell-scripting/#comment-194</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 20 Jun 2011 02:58:30 +0000</pubDate>
		<guid isPermaLink="false">http://techpulp.com/?p=474#comment-194</guid>
		<description>Some Unix environments may have locale settings that will cause &quot;tr&quot; to fail on random input with &quot;tr: Illegal byte sequence&quot;.  I found that adding:

export LANG=&quot;C&quot;

...before the echo command fixed the problem for me.</description>
		<content:encoded><![CDATA[<p>Some Unix environments may have locale settings that will cause &#8220;tr&#8221; to fail on random input with &#8220;tr: Illegal byte sequence&#8221;.  I found that adding:</p>
<p>export LANG=&#8221;C&#8221;</p>
<p>&#8230;before the echo command fixed the problem for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: occhiso</title>
		<link>http://www.techpulp.com/blog/2009/01/how-to-generate-random-password-using-bash-shell-scripting/#comment-34</link>
		<dc:creator>occhiso</dc:creator>
		<pubDate>Fri, 25 Jun 2010 01:37:32 +0000</pubDate>
		<guid isPermaLink="false">http://techpulp.com/?p=474#comment-34</guid>
		<description>I also wanted symbols for my password.
Using [:graph:] as the set for tr only allows printable characters (not including spaces):

echo `&lt;/dev/urandom tr -dc [:graph:] &#124; head -c 10`</description>
		<content:encoded><![CDATA[<p>I also wanted symbols for my password.<br />
Using [:graph:] as the set for tr only allows printable characters (not including spaces):</p>
<p>echo `&lt;/dev/urandom tr -dc [:graph:] | head -c 10`</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ksaver</title>
		<link>http://www.techpulp.com/blog/2009/01/how-to-generate-random-password-using-bash-shell-scripting/#comment-33</link>
		<dc:creator>ksaver</dc:creator>
		<pubDate>Sun, 31 Jan 2010 04:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://techpulp.com/?p=474#comment-33</guid>
		<description>Is possible to add some special chars to improve the password strength (just enclose it between apostrophes &#039; &#039; ):

echo `&lt;/dev/urandom tr -dc A-Za-z1-9&#039;\!&quot;.$%&amp;/()=?&#124;@#[]{}-_.:,;&#039; &#124; head -c12`</description>
		<content:encoded><![CDATA[<p>Is possible to add some special chars to improve the password strength (just enclose it between apostrophes &#8216; &#8216; ):</p>
<p>echo `&lt;/dev/urandom tr -dc A-Za-z1-9&#8242;\!&#8221;.$%&amp;/()=?|@#[]{}-_.:,;&#8217; | head -c12`</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://www.techpulp.com/blog/2009/01/how-to-generate-random-password-using-bash-shell-scripting/#comment-32</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Mon, 21 Sep 2009 19:11:21 +0000</pubDate>
		<guid isPermaLink="false">http://techpulp.com/?p=474#comment-32</guid>
		<description>was it really necessary to create a function??
why not just
[]
#!/bin/bash
echo &lt;/dev/random tr -dc A-Za-z0-9 &#124; head -c8
[\]
there i just turned 6 lines into 2</description>
		<content:encoded><![CDATA[<p>was it really necessary to create a function??<br />
why not just<br />
[]<br />
#!/bin/bash<br />
echo &lt;/dev/random tr -dc A-Za-z0-9 | head -c8<br />
[\]<br />
there i just turned 6 lines into 2</p>
]]></content:encoded>
	</item>
</channel>
</rss>

