SYS> !
[dba12 dbs] $ vi initrajpar.ora
:wq
[dba12 dbs] $ exit
SYS> startup force à includes shut abort & startup
[just like restart]
{not suggestible command}
SYS> sho parameter OS_authent_prefix
SYS> create user raj6x71A identified externally;
The user should have os level authentication.
SYS> grant connect, resource to raj6x 71A;
SYS> !
[dba12 ~] $ pwd
Dba12/raj6x71A
[dba12 ~] $ sqlplus
SQL > sho user raj6x 71A
SQL >
Inclined to build a profession as Oracle DBA Training? Then here is the blog post on, explore Oracle DBA Training
To create password file
[db a 12 dbs] $ vi initrajpor.ora
Remote-login_password file= exclusive
:wq
[dba12 dbs] $ orapwd file = orapw $ ORACLE_SID password= diamond
[dba12 dbs] $ cd
[dba12 ~] $ exit
SYS> startup force
SYS> sho parameter remote_login
Value
Exclusive
SYS> select * from v$ pwfile_users
Now SYS can grant SYSDBA privileges to any other user.
SYS> grant sysdba to usr1;
SYS> startup force
SYS> conn user 1/user1 as sysdba
User1> startup force
SQL> sho user user1
SQL>
ROL =s:
SYS> select * from session _ privs;
SYS> create role pay-1;
SYS> grant create tablespsce, create user to pay-1;
SYS> grant pay-1 to suer – 1;
Dba_role_privs
Role_sys_privs
(views related to roles)
You liked the article?
Like: 0
Vote for difficulty
Current difficulty (Avg): Medium
TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.