<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>pastbedti.me &#187; Mouseless</title>
	<atom:link href="http://www.pastbedti.me/category/operatingsystem/mouseless/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pastbedti.me</link>
	<description>About ruby, rails, postgresql and stuff....</description>
	<lastBuildDate>Wed, 01 Jun 2011 20:09:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Easy password generating under OS X</title>
		<link>http://www.pastbedti.me/2009/01/easy-password-generating-under-os-x/</link>
		<comments>http://www.pastbedti.me/2009/01/easy-password-generating-under-os-x/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 23:18:15 +0000</pubDate>
		<dc:creator>Mathias Stjernström</dc:creator>
				<category><![CDATA[Mouseless]]></category>
		<category><![CDATA[Operatingsystem]]></category>
		<category><![CDATA[macports]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[passwords]]></category>

		<guid isPermaLink="false">http://www.pastbedti.me/?p=387</guid>
		<description><![CDATA[I generate a loooot of passwords. I try out a lot of webservices and all those needs passwords. I control about 70-100 servers and all those have different services and accounts. So I generate a lot of passwords&#8230; and this post is about how I do it do make it as easy as possible. Using [...]]]></description>
			<content:encoded><![CDATA[<p>I generate a loooot of passwords. I try out a lot of webservices and all those needs passwords. I control about 70-100 servers and all those have different services and accounts. So I generate a lot of passwords&#8230; and this post is about how I do it do make it as easy as possible.<br />
<span id="more-387"></span></p>
<h3>Using pwgen out-of-the-box</h3>
<p>I use pwgen (<a href="http://sourceforge.net/projects/pwgen/">http://sourceforge.net/projects/pwgen/</a>) to generate my passwords. pwgen can be downloaded from sourceforge or installed from MacPorts. </p>
<p>I used to have an alias that looked something like this</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">pwgen</span>=<span style="color: #ff0000;">'pwgen 15'</span></div></td></tr></tbody></table></div>
<p>This command will generate a screen of passwords and I the use the mouse to double click on some random password. This have been great but requires me to move my hand to the mouse which is time consuming. </p>
<h3>Getting rid of the mouse</h3>
<p>So to get rid of the mouse I have created this alias which generates one password and the copies the password to the clipboard.</p>
<div class="codecolorer-container bash twitlight" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #7a0874; font-weight: bold;">alias</span> <span style="color: #007800;">pwgen</span>=<span style="color: #ff0000;">&quot;pwgen -N1 -s 15 | tr -d '<span style="color: #000099; font-weight: bold;">\n</span>' | pbcopy ; echo 'Password copied to clipboard.'&quot;</span></div></td></tr></tbody></table></div>
<p>So my workflow becomes something like shift focus to Terminal with  &#8984; + Tab and then create a new window with  &#8984; + N.<br />
Write pwgen and then close the window with  &#8984; + W and then I am back where I started with a fresh password in my clipboard.</p>
<p>Cheers! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.pastbedti.me/2009/01/easy-password-generating-under-os-x/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

