<?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: Generating sha512 passwords</title>
	<atom:link href="http://blog.loftninjas.org/2009/03/11/generating-sha512-passwords/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.loftninjas.org/2009/03/11/generating-sha512-passwords/</link>
	<description></description>
	<lastBuildDate>Sat, 21 Jan 2012 06:46:54 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: dan</title>
		<link>http://blog.loftninjas.org/2009/03/11/generating-sha512-passwords/comment-page-1/#comment-5389</link>
		<dc:creator>dan</dc:creator>
		<pubDate>Tue, 03 May 2011 15:01:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=292#comment-5389</guid>
		<description>&quot;mkpasswd -m sha-512&quot; saved the day for me. 10x</description>
		<content:encoded><![CDATA[<p>&#8220;mkpasswd -m sha-512&#8243; saved the day for me. 10x</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: btm</title>
		<link>http://blog.loftninjas.org/2009/03/11/generating-sha512-passwords/comment-page-1/#comment-4792</link>
		<dc:creator>btm</dc:creator>
		<pubDate>Wed, 02 Mar 2011 22:29:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=292#comment-4792</guid>
		<description>This worked a year ago, see the newer post &lt;a href=&quot;http://blog.loftninjas.org/2009/12/07/scripting-the-root-password-on-ubuntu-910-karmic/&quot;&gt;Scripting the root password on Ubuntu 9.10...&lt;/a&gt; (in the pingback) for a newer method. &quot;mkpasswd -m sha-512&quot; still works on Ubuntu 10.04 (lucid). 

chpasswd on Ubuntu probably isn&#039;t the same program as chpasswd on Gentoo, as is often the case when you switch operating systems. mkpasswd used to come from the whois package on Ubuntu and now comes from its own package. Some brief time on Google leads me to starting with &#039;app-crypt/cli-crypt&#039;.</description>
		<content:encoded><![CDATA[<p>This worked a year ago, see the newer post <a href="http://blog.loftninjas.org/2009/12/07/scripting-the-root-password-on-ubuntu-910-karmic/">Scripting the root password on Ubuntu 9.10&#8230;</a> (in the pingback) for a newer method. &#8220;mkpasswd -m sha-512&#8243; still works on Ubuntu 10.04 (lucid). </p>
<p>chpasswd on Ubuntu probably isn&#8217;t the same program as chpasswd on Gentoo, as is often the case when you switch operating systems. mkpasswd used to come from the whois package on Ubuntu and now comes from its own package. Some brief time on Google leads me to starting with &#8216;app-crypt/cli-crypt&#8217;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabe</title>
		<link>http://blog.loftninjas.org/2009/03/11/generating-sha512-passwords/comment-page-1/#comment-4790</link>
		<dc:creator>Gabe</dc:creator>
		<pubDate>Wed, 02 Mar 2011 21:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=292#comment-4790</guid>
		<description>This solution doesn&#039;t seem to be very cross-platform, because on Ubuntu 10.10 at leas (since Ubuntu is explicitly mentioned):


ubuntu@ip-xxxxxxxx~$ echo cjwatson:foo &#124; chpasswd -S -c SHA512
chpasswd: invalid option -- &#039;c&#039;
Usage: chpasswd [options]

Options:
  -h, --help                    display this help message and exit
  -S, --stdout                  report encrypted passwords to stdout
                                instead of changing the passwd file


Similarly, on Gentoo:

$ /usr/sbin/chpasswd --help
Usage: chpasswd [options]

Options:
  -h, --help                    display this help message and</description>
		<content:encoded><![CDATA[<p>This solution doesn&#8217;t seem to be very cross-platform, because on Ubuntu 10.10 at leas (since Ubuntu is explicitly mentioned):</p>
<p>ubuntu@ip-xxxxxxxx~$ echo cjwatson:foo | chpasswd -S -c SHA512<br />
chpasswd: invalid option &#8212; &#8216;c&#8217;<br />
Usage: chpasswd [options]</p>
<p>Options:<br />
  -h, &#8211;help                    display this help message and exit<br />
  -S, &#8211;stdout                  report encrypted passwords to stdout<br />
                                instead of changing the passwd file</p>
<p>Similarly, on Gentoo:</p>
<p>$ /usr/sbin/chpasswd &#8211;help<br />
Usage: chpasswd [options]</p>
<p>Options:<br />
  -h, &#8211;help                    display this help message and</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scripting the root password on Ubuntu 9.10 (karmic) at btm.geek</title>
		<link>http://blog.loftninjas.org/2009/03/11/generating-sha512-passwords/comment-page-1/#comment-2542</link>
		<dc:creator>Scripting the root password on Ubuntu 9.10 (karmic) at btm.geek</dc:creator>
		<pubDate>Mon, 07 Dec 2009 21:17:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.loftninjas.org/?p=292#comment-2542</guid>
		<description>[...] uses PAM, and has dropped the -e option used above, as well as the -c option that I&#8217;d used to generate sha512 encrypted passwords. You&#8217;ll want to use mkpasswd from the whois package (yeah, weird) for that now, such [...]</description>
		<content:encoded><![CDATA[<p>[...] uses PAM, and has dropped the -e option used above, as well as the -c option that I&#8217;d used to generate sha512 encrypted passwords. You&#8217;ll want to use mkpasswd from the whois package (yeah, weird) for that now, such [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

