From c99c487ee7ecf30950909d82c81ba96093c3c4f9 Mon Sep 17 00:00:00 2001
From: Shireesh Anjal <shireesh@gluster.com>
Date: Mon, 1 Aug 2011 22:05:53 +0530
Subject: Story #54 - Tool to reset password of the "gluster" user

---
 .../WebContent/data/scripts/1.0.0/2-users-authorities-groups.sql     | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

(limited to 'src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/2-users-authorities-groups.sql')

diff --git a/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/2-users-authorities-groups.sql b/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/2-users-authorities-groups.sql
index 35ccf965..5bd73813 100644
--- a/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/2-users-authorities-groups.sql
+++ b/src/com.gluster.storage.management.gateway/WebContent/data/scripts/1.0.0/2-users-authorities-groups.sql
@@ -1,11 +1,9 @@
 -- Create users
-insert into users(username, password, enabled) values ('gluster','gluster',1);
-insert into users(username, password, enabled) values ('guest','guest',1);
+insert into users(username, password, enabled) values ('gluster','syst3m',1);
 
 -- Assign authorities to users (to be removed after implementing user group functionality)
 insert into authorities(username,authority) values ('gluster','ROLE_USER');
 insert into authorities(username,authority) values ('gluster','ROLE_ADMIN');
-insert into authorities(username,authority) values ('guest','ROLE_USER');
 
 -- Create user groups
 insert into groups(group_name) values ('Users');
@@ -17,5 +15,4 @@ insert into group_authorities(group_id, authority) select id,'ROLE_USER' from gr
 insert into group_authorities(group_id, authority) select id,'ROLE_ADMIN' from groups where group_name='Administrators';
 
 -- Assign group members
-insert into group_members(group_id, username) select id,'guest' from groups where group_name='Users';
 insert into group_members(group_id, username) select id,'gluster' from groups where group_name='Administrators';
\ No newline at end of file
-- 
cgit 

