You are on page 1of 9

-- Create the user

create user CLIENT identified by "client"


default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke object privileges
grant execute on DBMS_ALERT to CLIENT;
-- Grant/Revoke role privileges
grant bendev_grp to CLIENT;
grant connect to CLIENT;
grant resource to CLIENT;
-- Grant/Revoke system privileges
grant create procedure to CLIENT;
grant create view to CLIENT;
grant select any dictionary to CLIENT;
grant select any table to CLIENT;
grant unlimited tablespace to CLIENT;

create user BENAUDIT identified by "benaudit"


default tablespace DEVT
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to BENAUDIT;
grant connect to BENAUDIT;
grant resource to BENAUDIT;
-- Grant/Revoke system privileges
grant select any dictionary to BENAUDIT;
grant unlimited tablespace to BENAUDIT;

-- Create the user


create user BENDEV identified by bendev
default tablespace DEVT
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke object privileges
grant execute on DBMS_STATS to BENDEV;
-- Grant/Revoke role privileges
grant bendev_grp to BENDEV;
grant connect to BENDEV;
grant execute_catalog_role to BENDEV;
grant resource to BENDEV;
-- Grant/Revoke system privileges
grant comment any table to BENDEV;
grant create any sequence to BENDEV;
grant create any view to BENDEV;
grant debug connect session to BENDEV;
grant select any dictionary to BENDEV;
grant select any table to BENDEV;
grant unlimited tablespace to BENDEV;

create user BENLOAD identified by "benload"


default tablespace DEVT
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke object privileges
grant execute on DBMS_STATS to BENLOAD;
-- Grant/Revoke role privileges
grant bendev_grp to BENLOAD;
grant connect to BENLOAD;
grant execute_catalog_role to BENLOAD;
grant exp_full_database to BENLOAD;
grant imp_full_database to BENLOAD;
grant resource to BENLOAD;
-- Grant/Revoke system privileges
grant analyze any to BENLOAD;
grant create any procedure to BENLOAD;
grant create any sequence to BENLOAD;
grant create any table to BENLOAD;
grant create any trigger to BENLOAD;
grant create any view to BENLOAD;
grant debug connect session to BENLOAD;
grant drop any sequence to BENLOAD;
grant drop any trigger to BENLOAD;
grant select any dictionary to BENLOAD;
grant select any table to BENLOAD;
grant unlimited tablespace to BENLOAD;

-- Create the user


create user CATCLIE identified by "CATCLIE"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on devi
quota unlimited on devt
quota unlimited on v3data
quota unlimited on v3indexes;
-- Grant/Revoke role privileges
grant connect to CATCLIE;
grant resource to CATCLIE;
-- Grant/Revoke system privileges
grant alter any materialized view to CATCLIE;
grant alter any table to CATCLIE;
grant alter any trigger to CATCLIE;
grant create any materialized view to CATCLIE;
grant create any procedure to CATCLIE;
grant create any sequence to CATCLIE;
grant create any synonym to CATCLIE;
grant create any table to CATCLIE;
grant create any trigger to CATCLIE;
grant create any view to CATCLIE;
grant debug connect session to CATCLIE;
grant delete any table to CATCLIE;
grant drop any materialized view to CATCLIE;
grant drop any procedure to CATCLIE;
grant drop any sequence to CATCLIE;
grant drop any synonym to CATCLIE;
grant drop any table to CATCLIE;
grant drop any trigger to CATCLIE;
grant drop any view to CATCLIE;
grant execute any procedure to CATCLIE;
grant grant any privilege to CATCLIE;
grant grant any role to CATCLIE;
grant insert any table to CATCLIE;
grant select any dictionary to CATCLIE;
grant select any sequence to CATCLIE;
grant select any table to CATCLIE;
grant unlimited tablespace to CATCLIE with admin option;
grant update any table to CATCLIE;

create user CT identified by "ct"


default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on security_i
quota unlimited on security_t
quota unlimited on v3data;
-- Grant/Revoke role privileges
grant connect to CT;
grant resource to CT;
-- Grant/Revoke system privileges
grant create credential to CT;
grant create job to CT;
grant unlimited tablespace to CT;

-- Create the user


create user CATPROD identified by "CATPROD"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on devi
quota unlimited on devt
quota unlimited on v3data
quota unlimited on v3indexes;
-- Grant/Revoke role privileges
grant connect to CATPROD;
grant resource to CATPROD;
-- Grant/Revoke system privileges
grant alter any materialized view to CATPROD;
grant alter any table to CATPROD;
grant alter any trigger to CATPROD;
grant create any materialized view to CATPROD;
grant create any procedure to CATPROD;
grant create any sequence to CATPROD;
grant create any synonym to CATPROD;
grant create any table to CATPROD;
grant create any trigger to CATPROD;
grant create any view to CATPROD;
grant debug connect session to CATPROD;
grant delete any table to CATPROD;
grant drop any materialized view to CATPROD;
grant drop any procedure to CATPROD;
grant drop any sequence to CATPROD;
grant drop any synonym to CATPROD;
grant drop any table to CATPROD;
grant drop any trigger to CATPROD;
grant drop any view to CATPROD;
grant execute any procedure to CATPROD;
grant grant any privilege to CATPROD;
grant grant any role to CATPROD;
grant insert any table to CATPROD;
grant select any dictionary to CATPROD;
grant select any sequence to CATPROD;
grant select any table to CATPROD;
grant unlimited tablespace to CATPROD with admin option;
grant update any table to CATPROD;

create user CLAIMS identified by "CLAIMS"


default tablespace CLAIMS_T
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to CLAIMS;
grant connect to CLAIMS;
grant resource to CLAIMS;
-- Grant/Revoke system privileges
grant debug any procedure to CLAIMS;
grant debug connect session to CLAIMS;
grant select any dictionary to CLAIMS;
grant unlimited tablespace to CLAIMS;

create user DATASHEETS identified by "DATASHEETS"


default tablespace DEVT
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to DATASHEETS;
grant connect to DATASHEETS;
grant resource to DATASHEETS;
-- Grant/Revoke system privileges
grant select any dictionary to DATASHEETS;
grant unlimited tablespace to DATASHEETS;

-- Create the user


create user DBO identified by "dbo"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke object privileges
grant execute on DBMS_ALERT to DBO;
grant execute on DBMS_AQ to DBO;
grant execute on DBMS_AQADM to DBO;
grant execute on DBMS_AQ_BQVIEW to DBO;
grant execute on DBMS_CRYPTO to DBO;
grant execute on DBMS_LOCK to DBO;
grant execute on DBMS_NETWORK_ACL_ADMIN to DBO;
grant execute on DBMS_RLS to DBO;
grant execute on DBMS_STATS to DBO;
grant select on QT178989_BUFFER to DBO;
grant select on QT179002_BUFFER to DBO;
grant select on QT179015_BUFFER to DBO;
grant select on QT97494_BUFFER to DBO;
grant execute on SYS_PLSQL_DA3FBA35_644_1 to DBO with grant option;
grant select on V_$RESERVED_WORDS to DBO;
-- Grant/Revoke role privileges
grant bendev_grp to DBO;
grant connect to DBO;
grant resource to DBO;
-- Grant/Revoke system privileges
grant alter any index to DBO;
grant alter any materialized view to DBO;
grant alter any procedure to DBO;
grant alter any role to DBO;
grant alter any sequence to DBO;
grant alter any table to DBO;
grant alter any trigger to DBO;
grant alter any type to DBO;
grant alter user to DBO;
grant analyze any to DBO;
grant backup any table to DBO;
grant comment any table to DBO;
grant create any context to DBO;
grant create any credential to DBO;
grant create any directory to DBO;
grant create any index to DBO;
grant create any job to DBO;
grant create any materialized view to DBO;
grant create any procedure to DBO;
grant create any sequence to DBO;
grant create any synonym to DBO;
grant create any table to DBO;
grant create any trigger to DBO;
grant create any type to DBO;
grant create any view to DBO;
grant create database link to DBO;
grant create public database link to DBO;
grant create user to DBO;
grant debug any procedure to DBO;
grant debug connect session to DBO;
grant delete any table to DBO;
grant drop any context to DBO;
grant drop any directory to DBO;
grant drop any index to DBO;
grant drop any materialized view to DBO;
grant drop any procedure to DBO;
grant drop any sequence to DBO;
grant drop any synonym to DBO;
grant drop any table to DBO;
grant drop any trigger to DBO;
grant drop any type to DBO;
grant drop any view to DBO;
grant drop public database link to DBO;
grant drop user to DBO;
grant execute any procedure to DBO;
grant execute any type to DBO;
grant grant any object privilege to DBO;
grant grant any role to DBO;
grant select any dictionary to DBO;
grant select any sequence to DBO;
grant select any table to DBO;
grant unlimited tablespace to DBO;
grant update any table to DBO;

create user WORKFORCE identified by "workforce"


default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to WORKFORCE;
grant connect to WORKFORCE;
grant resource to WORKFORCE;
-- Grant/Revoke system privileges
grant select any dictionary to WORKFORCE;
grant unlimited tablespace to WORKFORCE;

-- Create the user


create user WORKFLOW identified by "WORKFLOW"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on v3data;
-- Grant/Revoke object privileges
grant select on DBA_JOBS to WORKFLOW;
grant execute on DBMS_AQ to WORKFLOW;
grant execute on DBMS_AQ_BQVIEW to WORKFLOW;
grant execute on DBMS_LOCK to WORKFLOW;
grant select on DUAL to WORKFLOW with grant option;
grant select on QT178976_BUFFER to WORKFLOW;
-- Grant/Revoke role privileges
grant bendev_grp to WORKFLOW;
grant connect to WORKFLOW;
grant resource to WORKFLOW;
-- Grant/Revoke system privileges
grant create procedure to WORKFLOW;
grant create view to WORKFLOW;
grant drop any directory to WORKFLOW;
grant select any dictionary to WORKFLOW;
grant select any table to WORKFLOW;
grant unlimited tablespace to WORKFLOW;

create user WEB identified by "web"


default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on v3data;
-- Grant/Revoke object privileges
grant execute on DBMS_AQ to WEB;
-- Grant/Revoke role privileges
grant bendev_grp to WEB;
grant connect to WEB;
grant resource to WEB;
-- Grant/Revoke system privileges
grant create procedure to WEB;
grant create view to WEB;
grant select any dictionary to WEB;
grant select any table to WEB;
grant unlimited tablespace to WEB;

-- Create the user


create user SECURITY_ADMIN identified by "SECURITY_ADMIN"
default tablespace DEVT
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to SECURITY_ADMIN;
grant connect to SECURITY_ADMIN;
grant resource to SECURITY_ADMIN;
-- Grant/Revoke system privileges
grant select any dictionary to SECURITY_ADMIN;
grant unlimited tablespace to SECURITY_ADMIN;

-- Create the user


create user MERGE identified by "merge"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on v3data;
-- Grant/Revoke role privileges
grant bendev_grp to MERGE;
grant connect to MERGE;
grant resource to MERGE;
-- Grant/Revoke system privileges
grant select any dictionary to MERGE;
grant unlimited tablespace to MERGE;

create user IMAGING identified by "imaging"


default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to IMAGING;
grant connect to IMAGING;
grant resource to IMAGING;
-- Grant/Revoke system privileges
grant create procedure to IMAGING;
grant create view to IMAGING;
grant select any dictionary to IMAGING;
grant select any table to IMAGING;
grant unlimited tablespace to IMAGING;

-- Create the user


create user HIPAA identified by "hippa"
default tablespace HIPAA_DATA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to HIPAA;
grant connect to HIPAA;
grant resource to HIPAA;
-- Grant/Revoke system privileges
grant select any dictionary to HIPAA;
grant unlimited tablespace to HIPAA;

-- Create the user


create user INTERFACE identified by "interface"
default tablespace DEVT
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke system privileges
grant unlimited tablespace to INTERFACE;

-- Create the user


create user INVEST identified by "invest"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on devi
quota unlimited on devt
quota unlimited on v3data
quota unlimited on v3indexes;
-- Grant/Revoke role privileges
grant connect to INVEST;
grant resource to INVEST;
-- Grant/Revoke system privileges
grant alter any materialized view to INVEST;
grant alter any table to INVEST;
grant alter any trigger to INVEST;
grant create any materialized view to INVEST;
grant create any procedure to INVEST;
grant create any sequence to INVEST;
grant create any synonym to INVEST;
grant create any table to INVEST;
grant create any trigger to INVEST;
grant create any view to INVEST;
grant debug connect session to INVEST;
grant delete any table to INVEST;
grant drop any materialized view to INVEST;
grant drop any procedure to INVEST;
grant drop any sequence to INVEST;
grant drop any synonym to INVEST;
grant drop any table to INVEST;
grant drop any trigger to INVEST;
grant drop any view to INVEST;
grant execute any procedure to INVEST;
grant grant any privilege to INVEST;
grant grant any role to INVEST;
grant insert any table to INVEST;
grant select any dictionary to INVEST;
grant select any sequence to INVEST;
grant select any table to INVEST;
grant unlimited tablespace to INVEST with admin option;
grant update any table to INVEST;

-- Create the user


create user MONITOR identified by "monitor"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT
quota unlimited on v3data;
-- Grant/Revoke object privileges
grant execute on DBMS_AQ to MONITOR;
grant execute on DBMS_CRYPTO to MONITOR;
grant execute on DBMS_MONITOR to MONITOR;
grant execute on DBMS_SYSTEM to MONITOR;
-- Grant/Revoke role privileges
grant bendev_grp to MONITOR;
grant connect to MONITOR;
grant resource to MONITOR;
-- Grant/Revoke system privileges
grant select any dictionary to MONITOR;
grant unlimited tablespace to MONITOR;

-- Create the user


create user ELIG identified by "elig"
default tablespace V3DATA
temporary tablespace TEMP
profile DEFAULT;
-- Grant/Revoke role privileges
grant bendev_grp to ELIG;
grant connect to ELIG;
grant resource to ELIG;
-- Grant/Revoke system privileges
grant select any dictionary to ELIG;
grant unlimited tablespace to ELIG;

You might also like