incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r1494028 - /incubator/ambari/trunk/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
Date Tue, 18 Jun 2013 05:48:59 GMT
Author: mahadev
Date: Tue Jun 18 05:48:58 2013
New Revision: 1494028

URL: http://svn.apache.org/r1494028
Log:
AMBARI-2403. ambari-server setup should allow user to change database password
. (Dmitry Lysnichenko via mahadev)

Modified:
    incubator/ambari/trunk/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql

Modified: incubator/ambari/trunk/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
URL: http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql?rev=1494028&r1=1494027&r2=1494028&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
(original)
+++ incubator/ambari/trunk/ambari-server/src/main/resources/Ambari-DDL-Postgres-CREATE.sql
Tue Jun 18 05:48:58 2013
@@ -19,6 +19,8 @@ CREATE DATABASE ambari;
 
 \connect ambari;
 
+ALTER USER :username WITH ENCRYPTED PASSWORD :password;
+
 CREATE ROLE :username LOGIN ENCRYPTED PASSWORD :password;
 
 CREATE SCHEMA ambari



Mime
View raw message