<?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: Quickzi: How To Change PostgreSQL Root Password</title>
	<atom:link href="http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/</link>
	<description>Linux Tips, Tricks, and Opinions</description>
	<lastBuildDate>Wed, 27 Jun 2012 07:49:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Julien Marodon</title>
		<link>http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/comment-page-1/#comment-214403</link>
		<dc:creator>Julien Marodon</dc:creator>
		<pubDate>Mon, 27 Feb 2012 10:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/#comment-214403</guid>
		<description>This solution works, but is not very secure, as the password can appear in psql command history, postmaster log, is visible on the screen and is sent cleartext over the network if you use psql with -h option from a remote computer and no SSL connection.

As psql&#039;s man page says it has a built-in \password command to address those issues: gives a hidden prompt with confirmation and encrypts the password before sending it to the postmaster:

# su postgres -c psql
postgres=# \password
Enter password :
Confirm password :
postgres=#</description>
		<content:encoded><![CDATA[<p>This solution works, but is not very secure, as the password can appear in psql command history, postmaster log, is visible on the screen and is sent cleartext over the network if you use psql with -h option from a remote computer and no SSL connection.</p>
<p>As psql&#8217;s man page says it has a built-in \password command to address those issues: gives a hidden prompt with confirmation and encrypts the password before sending it to the postmaster:</p>
<p># su postgres -c psql<br />
postgres=# \password<br />
Enter password :<br />
Confirm password :<br />
postgres=#</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/comment-page-1/#comment-72209</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Tue, 09 Nov 2010 20:29:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/#comment-72209</guid>
		<description>I need to find that superuser password for reset on my machine, but I am not a linux user.

Is there a way I could do it within windows, or by command line?

Andy

ps any explanation should be for a newbie</description>
		<content:encoded><![CDATA[<p>I need to find that superuser password for reset on my machine, but I am not a linux user.</p>
<p>Is there a way I could do it within windows, or by command line?</p>
<p>Andy</p>
<p>ps any explanation should be for a newbie</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bomken</title>
		<link>http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/comment-page-1/#comment-30553</link>
		<dc:creator>bomken</dc:creator>
		<pubDate>Tue, 23 Dec 2008 08:34:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/#comment-30553</guid>
		<description>I have made it work with modifying pg_hba.conf file.</description>
		<content:encoded><![CDATA[<p>I have made it work with modifying pg_hba.conf file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: singh.gurjeet</title>
		<link>http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/comment-page-1/#comment-4839</link>
		<dc:creator>singh.gurjeet</dc:creator>
		<pubDate>Mon, 24 Mar 2008 10:41:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/2008/03/23/quickzi-how-to-change-postgresql-root-password/#comment-4839</guid>
		<description>This is not the cpmplete picture.... It will only work from the machine where Postgres is installed, and that too only if the pg_hba.conf is configured to &#039;trust&#039; user from the localhost (127.0.0.1).</description>
		<content:encoded><![CDATA[<p>This is not the cpmplete picture&#8230;. It will only work from the machine where Postgres is installed, and that too only if the pg_hba.conf is configured to &#8216;trust&#8217; user from the localhost (127.0.0.1).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
