|
3 | 3 | -- Users: |
4 | 4 | -- admin - the Admin Account |
5 | 5 | -- alice - the Account Manager |
6 | | --- bob - a user with basic permissions |
| 6 | +-- bob - a user with basic permissions |
| 7 | +-- carol - a user with basic permissions |
| 8 | +-- dan - a user with basic permissions |
7 | 9 | -- |
8 | | --- The password for each user is 'Password1' |
| 10 | +-- The password for each user is 'password' |
9 | 11 | -- All email address are fake addresses at projectredcap.org |
10 | 12 | -- |
11 | 13 | -- Please change passwords and email addresses on any system that is more than a isolated, local test system. |
12 | 14 | -- Alternatively, just delete these accounts after the roles have been assigned to new accounts. |
13 | 15 | -- Written for 6.18.1. |
14 | 16 | -- Tested on 6.18.1 and 7.2.2 |
15 | | -REPLACE INTO `redcap_auth` VALUES ('admin','f00a29960d1108086c2d86742bfc5a89','6hgNrh8n%A3R4GwIuny@quxwHjVo7yu%B&4U@LmKd~n72UJzJ&xBEN-t4CYzIyxVzucwQm.vLK.N23S.Ltc@ZZq~$jFxhYU~bopz',0,0,NULL,NULL,NULL,NULL); |
16 | | -REPLACE INTO `redcap_auth` VALUES ( 'alice', 'bea198176813848e6167cd43baaf5094', '66~xW#[email protected]!M..FXDTy&VMDUHmPILK4^GLBQ5mRj3%XW%YUaM8Wpyi7*iBtJvTrUcT8c&qmuyVqe&*ZUfWRae6&2BCY^A', 0, 0, NULL, NULL, NULL, NULL); |
17 | | -REPLACE INTO `redcap_auth` VALUES ('bob','7fd2b57c81616c7123650eaa7355d9e9','z%QiWLyN@w3y9UQKdB%%GHDtS%@A9cYP*!oPXy4kkZR.&V@hJvpP.^udA5JWCg!mzYA6W.37$8mMWW.j$huhemeKrYFoTj@sSABz',0,0,NULL,NULL,NULL,NULL); |
| 17 | +-- Set paswords to the the md5 of the the password with the salt append. e.g. |
| 18 | +-- md5('password'.'my_salt_string') |
| 19 | +REPLACE INTO `redcap_auth` VALUES ('admin',md5(concat('password', 'my_salt_string')),'my_salt_string',0,0,NULL,NULL,NULL,NULL); |
| 20 | +REPLACE INTO `redcap_auth` VALUES ('alice',md5(concat('password', 'my_salt_string')),'my_salt_string',0,0,NULL,NULL,NULL,NULL); |
| 21 | +REPLACE INTO `redcap_auth` VALUES ('bob', md5(concat('password', 'my_salt_string')),'my_salt_string',0,0,NULL,NULL,NULL,NULL); |
| 22 | +REPLACE INTO `redcap_auth` VALUES ('carol',md5(concat('password', 'my_salt_string')),'my_salt_string',0,0,NULL,NULL,NULL,NULL); |
| 23 | +REPLACE INTO `redcap_auth` VALUES ('dan', md5(concat('password', 'my_salt_string')),'my_salt_string',0,0,NULL,NULL,NULL,NULL); |
18 | 24 |
|
19 | 25 | REPLACE INTO `redcap_config` VALUES ('auth_meth_global','table'); |
20 | 26 |
|
@@ -57,7 +63,7 @@ api_token, |
57 | 63 | messaging_email_preference, |
58 | 64 | messaging_email_urgent_all, |
59 | 65 | messaging_email_ts) |
60 | | -VALUES ( 1, 'site_admin', '[email protected]', NULL, NULL, NULL, NULL, 'Joe', 'User', NULL, 0, 0, NULL, '2017-02-02 14:07:08', '2017-02-02 14:15:52', '2017-02-02 14:22:19', '2017-02-02 14:15:15', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', 'PYCDZD4KK2ST2AYZ', 1, 1, 2, NULL, 'X_HOURS', 1, NULL); |
| 66 | +VALUES ( 1, 'site_admin', '[email protected]', NULL, NULL, NULL, NULL, 'Joe', 'User', NULL, 0, 0, NULL, '2017-02-02 14:07:08', '2017-02-02 14:15:52', '2017-02-02 14:22:19', '2017-02-02 14:15:15', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', 'PYCDZD4KK2ST2AYZ', 1, 1, 2, NULL, 'NONE', 1, NULL); |
61 | 67 |
|
62 | 68 | REPLACE INTO `redcap_user_information` |
63 | 69 | (ui_id, |
@@ -98,7 +104,7 @@ api_token, |
98 | 104 | messaging_email_preference, |
99 | 105 | messaging_email_urgent_all, |
100 | 106 | messaging_email_ts) |
101 | | -VALUES ( 2, 'admin', '[email protected]', '', '', NULL, NULL, 'Joe', 'Admin', '', 1, 0, '2017-02-02 14:15:52', '2017-02-02 14:23:03', '2017-02-02 14:22:41', '2017-02-02 14:23:03', '2017-02-02 14:22:42', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '7HXAGUD5HJD7QP3I', 1, 1, 2, NULL, 'X_HOURS', 1, NULL); |
| 107 | +VALUES ( 2, 'admin', '[email protected]', '', '', NULL, NULL, 'Joe', 'Admin', '', 1, 0, '2017-02-02 14:15:52', '2017-02-02 14:23:03', '2017-02-02 14:22:41', '2017-02-02 14:23:03', '2017-02-02 14:22:42', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '7HXAGUD5HJD7QP3I', 1, 1, 2, NULL, 'NONE', 1, NULL); |
102 | 108 |
|
103 | 109 | REPLACE INTO `redcap_user_information` |
104 | 110 | (ui_id, |
@@ -139,7 +145,7 @@ api_token, |
139 | 145 | messaging_email_preference, |
140 | 146 | messaging_email_urgent_all, |
141 | 147 | messaging_email_ts) |
142 | | -VALUES ( 3, 'alice', '[email protected]', '', '', NULL, NULL, 'Alice', 'Manager', '', 0, 1, '2017-02-02 14:21:22', '2017-02-02 14:26:49', '2017-02-02 14:26:40', '2017-02-02 14:26:49', '2017-02-02 14:26:40', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '64E2ESJTNTFAUYS4', 1, 1, 2, NULL, 'X_HOURS', 1, NULL); |
| 148 | +VALUES ( 3, 'alice', '[email protected]', '', '', NULL, NULL, 'Alice', 'Manager', '', 0, 1, '2017-02-02 14:21:22', '2017-02-02 14:26:49', '2017-02-02 14:26:40', '2017-02-02 14:26:49', '2017-02-02 14:26:40', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '64E2ESJTNTFAUYS4', 1, 1, 2, NULL, 'NONE', 1, NULL); |
143 | 149 |
|
144 | 150 | REPLACE INTO `redcap_user_information` |
145 | 151 | (ui_id, |
@@ -180,4 +186,12 @@ api_token, |
180 | 186 | messaging_email_preference, |
181 | 187 | messaging_email_urgent_all, |
182 | 188 | messaging_email_ts) |
183 | | -VALUES ( 4, 'bob', '[email protected]', '', '', NULL, NULL, 'Bob', 'User', '', 0, 0, '2017-02-02 14:20:20', '2017-02-02 14:28:33', '2017-02-02 14:28:24', '2017-02-02 14:28:33', '2017-02-02 14:28:24', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '5OMDTXHZYMX62IQJ', 1, 1, 2, NULL, 'X_HOURS', 1, NULL); |
| 189 | +VALUES ( 4, 'bob', '[email protected]', '', '', NULL, NULL, 'Bob', 'User', '', 0, 0, '2017-02-02 14:20:20', '2017-02-02 14:28:33', '2017-02-02 14:28:24', '2017-02-02 14:28:33', '2017-02-02 14:28:24', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '5OMDTXHZYMX62IQJ', 1, 1, 2, NULL, 'NONE', 1, NULL); |
| 190 | + |
| 191 | +REPLACE INTO `redcap_user_information` |
| 192 | +(ui_id,username,user_email,user_email2,user_email3,user_phone,user_phone_sms,user_firstname,user_lastname,user_inst_id,super_user,account_manager,user_creation,user_firstvisit,user_firstactivity,user_lastactivity,user_lastlogin,user_suspended_time,user_expiration,user_access_dashboard_view,user_access_dashboard_email_queued,user_sponsor,user_comments,allow_create_db,email_verify_code,email2_verify_code,email3_verify_code,datetime_format,number_format_decimal,number_format_thousands_sep,two_factor_auth_secret,display_on_email_users,two_factor_auth_twilio_prompt_phone,two_factor_auth_code_expiration,api_token,messaging_email_preference,messaging_email_urgent_all,messaging_email_ts) |
| 193 | +VALUES ( 5, 'carol', '[email protected]', '', '', NULL, NULL, 'Carol', 'User', '', 0, 0, '2017-02-02 14:20:20', '2017-02-02 14:28:33', '2017-02-02 14:28:24', '2017-02-02 14:28:33', '2017-02-02 14:28:24', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '5OMDTXHZYMX62IQJ', 1, 1, 2, NULL, 'NONE', 1, NULL); |
| 194 | + |
| 195 | +REPLACE INTO `redcap_user_information` |
| 196 | +(ui_id,username,user_email,user_email2,user_email3,user_phone,user_phone_sms,user_firstname,user_lastname,user_inst_id,super_user,account_manager,user_creation,user_firstvisit,user_firstactivity,user_lastactivity,user_lastlogin,user_suspended_time,user_expiration,user_access_dashboard_view,user_access_dashboard_email_queued,user_sponsor,user_comments,allow_create_db,email_verify_code,email2_verify_code,email3_verify_code,datetime_format,number_format_decimal,number_format_thousands_sep,two_factor_auth_secret,display_on_email_users,two_factor_auth_twilio_prompt_phone,two_factor_auth_code_expiration,api_token,messaging_email_preference,messaging_email_urgent_all,messaging_email_ts) |
| 197 | +VALUES ( 6, 'dan', '[email protected]', '', '', NULL, NULL, 'Dan', 'User', '', 0, 0, '2017-02-02 14:20:20', '2017-02-02 14:28:33', '2017-02-02 14:28:24', '2017-02-02 14:28:33', '2017-02-02 14:28:24', NULL, NULL, NULL, NULL, NULL, NULL, 1, NULL, NULL, NULL, 'M/D/Y_12', '.', ',', '5OMDTXHZYMX62IQJ', 1, 1, 2, NULL, 'NONE', 1, NULL); |
0 commit comments