<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://wiki.integrator.com.br/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pt-br">
		<id>https://wiki.integrator.com.br/index.php?action=history&amp;feed=atom&amp;title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH</id>
		<title>Alterando a senha do postgreSQL diretamente via SSH - Histórico de revisão</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.integrator.com.br/index.php?action=history&amp;feed=atom&amp;title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH"/>
		<link rel="alternate" type="text/html" href="https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;action=history"/>
		<updated>2026-04-16T07:25:56Z</updated>
		<subtitle>Histórico de revisões para esta página neste wiki</subtitle>
		<generator>MediaWiki 1.21.2</generator>

	<entry>
		<id>https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=8233&amp;oldid=prev</id>
		<title>Integratorhost em 01h45min de 12 de março de 2026</title>
		<link rel="alternate" type="text/html" href="https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=8233&amp;oldid=prev"/>
				<updated>2026-03-12T01:45:35Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Edição das 01h45min de 12 de março de 2026&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 24:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 24:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Salve e feche o arquivo.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Salve e feche o arquivo.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;4. Reinicie o banco de dados.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Recolocar uma senha para o postgres ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Recolocar uma senha para o postgres ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Integratorhost</name></author>	</entry>

	<entry>
		<id>https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7743&amp;oldid=prev</id>
		<title>Integratorhost em 14h44min de 17 de julho de 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7743&amp;oldid=prev"/>
				<updated>2025-07-17T14:44:42Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Edição das 14h44min de 17 de julho de 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Wiki-banner-icp-2025.jpg|center| 700px||border|link=https://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;www.&lt;/del&gt;integrator.com.br/plano-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;hospedagem&lt;/del&gt;-&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;promocionais&lt;/del&gt;|Planos &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;promocionais&lt;/del&gt;|]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[File:Wiki-banner-icp-2025.jpg|center| 700px||border|link=https://integrator.com.br/plano-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;vps&lt;/ins&gt;-&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;icp&lt;/ins&gt;|Planos &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;VPS ICP&lt;/ins&gt;|]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introdução ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introdução ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Integratorhost</name></author>	</entry>

	<entry>
		<id>https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7666&amp;oldid=prev</id>
		<title>Integratorhost em 14h22min de 17 de julho de 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7666&amp;oldid=prev"/>
				<updated>2025-07-17T14:22:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Edição das 14h22min de 17 de julho de 2025&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[File:Wiki-banner-icp-2025.jpg|center| 700px||border|link=https://www.integrator.com.br/plano-hospedagem-promocionais|Planos promocionais|]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introdução ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Introdução ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Integratorhost</name></author>	</entry>

	<entry>
		<id>https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7349&amp;oldid=prev</id>
		<title>Integratorhost em 20h23min de 8 de abril de 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7349&amp;oldid=prev"/>
				<updated>2024-04-08T20:23:18Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Edição anterior&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Edição das 20h23min de 8 de abril de 2024&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 46:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Linha 46:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Reinicie o postgreSQL. Pode ser feito tambem pelo painel WHM no item '''Restart services'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;3. Reinicie o postgreSQL. Pode ser feito tambem pelo painel WHM no item '''Restart services'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; systemctl restart postgresql&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.service&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; systemctl restart postgresql&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Considerações finais ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Considerações finais ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Integratorhost</name></author>	</entry>

	<entry>
		<id>https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7335&amp;oldid=prev</id>
		<title>Integratorhost: Criou página com ' == Introdução ==  Este tutorial abaixo deve ser realizado com acesso root logado via SSH.   É importante que o administrador conheça e saiba operar comandos básicos de u...'</title>
		<link rel="alternate" type="text/html" href="https://wiki.integrator.com.br/index.php?title=Alterando_a_senha_do_postgreSQL_diretamente_via_SSH&amp;diff=7335&amp;oldid=prev"/>
				<updated>2024-03-06T20:40:28Z</updated>
		
		<summary type="html">&lt;p&gt;Criou página com &amp;#039; == Introdução ==  Este tutorial abaixo deve ser realizado com acesso root logado via SSH.   É importante que o administrador conheça e saiba operar comandos básicos de u...&amp;#039;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nova&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
== Introdução ==&lt;br /&gt;
&lt;br /&gt;
Este tutorial abaixo deve ser realizado com acesso root logado via SSH. &lt;br /&gt;
&lt;br /&gt;
É importante que o administrador conheça e saiba operar comandos básicos de uso linux. O suporte de hospedagem não ensina a operar comandos linux, no qual foge ao escopo da hospedagem em si.&lt;br /&gt;
&lt;br /&gt;
Lembramos tambem que o tutorial foi testado e realizado pela nossa equipe administradora tecnica. Demais personalizações que houver no banco de dados utilizado, fica sob responsabilidade do usuario a analise do que possa intervir neste tutorial. &lt;br /&gt;
&lt;br /&gt;
== Alterar a configuração de autenticação ==&lt;br /&gt;
&lt;br /&gt;
1. Inicialmente, acesse o arquivo '''pg_hba.conf''' localizado em '''/var/lib/pgsql/data/pg_hba.conf'''.&lt;br /&gt;
&lt;br /&gt;
2. Edite o arquivo, alterando de '''md5''' para '''trust'''. Isso permitirá conexões sem autenticação (apenas para o propósito deste tutorial, para ser revertido posteriormente).&lt;br /&gt;
&lt;br /&gt;
Exemplo de conteudo no arquivo citado:&lt;br /&gt;
&lt;br /&gt;
 local all all        md5&lt;br /&gt;
 host all all  127.0.0.1   255.255.255.255   md5&lt;br /&gt;
 host    all         all         0.0.0.0/0             md5&lt;br /&gt;
 host    all         all         ::1/128               md5&lt;br /&gt;
 host all postgres   ::1/128    md5&lt;br /&gt;
&lt;br /&gt;
3. Salve e feche o arquivo.&lt;br /&gt;
&lt;br /&gt;
== Recolocar uma senha para o postgres ==&lt;br /&gt;
&lt;br /&gt;
1. Logue-se ao PostgreSQL com o usuário '''postgres''', digitando o comando abaixo no terminal SSH:&lt;br /&gt;
&lt;br /&gt;
 psql -U postgres&lt;br /&gt;
&lt;br /&gt;
2. Dentro do psql, execute o seguinte comando para recolocar a senha do usuário postgres. Substitua '''nova_senha''' pela nova senha desejada:&lt;br /&gt;
&lt;br /&gt;
 ALTER USER postgres WITH PASSWORD 'nova_senha';&lt;br /&gt;
&lt;br /&gt;
3. Saia do psql:&lt;br /&gt;
&lt;br /&gt;
 \q&lt;br /&gt;
&lt;br /&gt;
== Revertendo a configuração de autenticação ==&lt;br /&gt;
&lt;br /&gt;
1. Retorne para o arquivo pg_hba'''.'''conf e altere '''trust''' de volta para '''md5'''.&lt;br /&gt;
&lt;br /&gt;
2. Salve e feche o arquivo.&lt;br /&gt;
&lt;br /&gt;
3. Reinicie o postgreSQL. Pode ser feito tambem pelo painel WHM no item '''Restart services'''.&lt;br /&gt;
&lt;br /&gt;
 systemctl restart postgresql.service&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Considerações finais ==&lt;br /&gt;
&lt;br /&gt;
Após seguir este tutorial, a senha do usuário &amp;quot;postgres&amp;quot; será recolocada e as configurações de autenticação do PostgreSQL serão restauradas para o estado original. Certifique-se de proteger o arquivo pg_hba.conf retornando a configuração para md5, alem de seguir as práticas recomendadas de segurança ao gerenciar senhas e configurações de banco de dados.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Categoria:TUTORIAIS]]&lt;br /&gt;
[[Categoria:VPS]]&lt;br /&gt;
[[Categoria:POSTGRESQL]]&lt;/div&gt;</summary>
		<author><name>Integratorhost</name></author>	</entry>

	</feed>