<?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>pgpass.conf &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/pgpass-conf/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Wed, 03 Aug 2016 18:18:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>PostgreSQL: Why psql is running without Password?</title>
		<link>https://www.dbrnd.com/2016/08/postgresql-why-psql-is-running-without-password/</link>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Sat, 06 Aug 2016 05:38:57 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[pgpass.conf]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<category><![CDATA[psql]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=1654</guid>

					<description><![CDATA[I have configured one of my PostgreSQL Test Server in windows operating system. I just open psql command line tool and it opened without asking a any password. I just surprised, when I logged in psql without any password. This should not happen in any situation. I was finding a solution of this problem and [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&amp;linkname=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&amp;linkname=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&amp;linkname=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&amp;linkname=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&amp;linkname=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&amp;linkname=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2016%2F08%2Fpostgresql-why-psql-is-running-without-password%2F&#038;title=PostgreSQL%3A%20Why%20psql%20is%20running%20without%20Password%3F" data-a2a-url="https://www.dbrnd.com/2016/08/postgresql-why-psql-is-running-without-password/" data-a2a-title="PostgreSQL: Why psql is running without Password?"></a></p><p>I have configured one of my PostgreSQL Test Server in windows operating system. </p>
<p>I just open psql command line tool and it opened without asking a any password. </p>
<blockquote><p>
I just surprised, when I logged in psql without any password. This should not happen in any situation. </p></blockquote>
<p><strong>I was finding a solution of this problem and came to know about pgpass.conf file for Windows OS and .pgpass file for Unix OS. </strong></p>
<p>This file exists on client location and contain information about login authentication. </p>
<p>For windows, you can find this file here:<strong> %APPDATA%\postgresql\pgpass.conf </strong><br />
<strong><br />
The format of this file:</strong></p>
<pre class="crayon-plain-tag">hostname:port:database:username:password</pre> </p>
<p>I have opened this file in windows and found that password written in plain text.<br />
Whenever I open psql, it takes default postgres user password from this file.</p>
<p><strong>I just removed this plain text password from pgpass.conf file and now psql prompts to enter a specific password for login.</strong></p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
