<?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/"
	xmlns:series="http://unfoldingneurons.com/"
		>
<channel>
	<title>Comments on: Linux / UNIX: Generating random password with mkpasswd</title>
	<atom:link href="http://www.cyberciti.biz/faq/generating-random-password/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cyberciti.biz/faq/generating-random-password/</link>
	<description>Every answer asks a more beautiful question.</description>
	<lastBuildDate>Tue, 16 Mar 2010 14:06:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dave</title>
		<link>http://www.cyberciti.biz/faq/generating-random-password/comment-page-1/#comment-43730</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Thu, 17 Sep 2009 15:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/generating-random-password/#comment-43730</guid>
		<description>Another handy way of generating random passwords is this:

&lt;code&gt;echo `&lt;/dev/urandom tr -dc A-Za-z0-9 &#124; head -c8`&lt;/code&gt;

Obviously, this can be tweaked to your liking by adding symbols to the list of allowed characters and changing the length of the generated password in the head options.  You can also use /dev/random if you want proper randomness but that does make it a whole lot slower.</description>
		<content:encoded><![CDATA[<p>Another handy way of generating random passwords is this:</p>
<p><code>echo `&lt;/dev/urandom tr -dc A-Za-z0-9 | head -c8`</code></p>
<p>Obviously, this can be tweaked to your liking by adding symbols to the list of allowed characters and changing the length of the generated password in the head options.  You can also use /dev/random if you want proper randomness but that does make it a whole lot slower.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gen2ly</title>
		<link>http://www.cyberciti.biz/faq/generating-random-password/comment-page-1/#comment-43456</link>
		<dc:creator>Gen2ly</dc:creator>
		<pubDate>Fri, 28 Aug 2009 13:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/generating-random-password/#comment-43456</guid>
		<description>To generate a random password for a user, you can do:

usermod -p `mkpasswd --chars=20` username

Also there char should be chars.  Thanks for the tip.</description>
		<content:encoded><![CDATA[<p>To generate a random password for a user, you can do:</p>
<p>usermod -p `mkpasswd &#8211;chars=20` username</p>
<p>Also there char should be chars.  Thanks for the tip.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Slavko</title>
		<link>http://www.cyberciti.biz/faq/generating-random-password/comment-page-1/#comment-37004</link>
		<dc:creator>Slavko</dc:creator>
		<pubDate>Sun, 11 Nov 2007 12:27:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.cyberciti.biz/faq/generating-random-password/#comment-37004</guid>
		<description>&lt;code&gt;apt-get install makepasswd&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p><code>apt-get install makepasswd</code></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.080 seconds -->
