Created
November 30, 2018 12:36
-
-
Save FleXoft/61ed4737fc8b0d63439cf0dd05662673 to your computer and use it in GitHub Desktop.
HPE SM Oracle user settings
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sqlplus / as sysdba | |
create user smadmin identified by smadmin default tablespace users quota unlimited on users; | |
alter user smadmin default tablespace users; | |
alter user smadmin temporary tablespace temp; | |
alter user sys identified by password; | |
grant create materialized view TO smadmin; | |
grant create session ,alter session ,create synonym ,create view ,create table ,create sequence TO smadmin; | |
grant create table ,create cluster ,create sequence ,create trigger ,create procedure ,create type ,create indextype ,create operator TO smadmin; | |
grant select on dba_data_files to smadmin; | |
grant select on dba_extents to smadmin; | |
grant select on dba_tablespaces to smadmin; | |
grant select on dba_temp_files to smadmin; | |
grant select on v_$database to smadmin; | |
grant select on v_$session to smadmin; | |
grant unlimited tablespace TO smadmin; | |
// ALTER USER smadmin ACCOUNT UNLOCK; | |
// ALTER USER smadmin IDENTIFIED BY smadmin ACCOUNT UNLOCK; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment