* Creiamo innanzitutto un utente:
wedosas01.RAIDTRN(SYS)> create user pippo identified by pippo;
User created.
wedosas01.RAIDTRN(SYS)> grant connect to pippo;
Grant succeeded.
User created.
wedosas01.RAIDTRN(SYS)> grant connect to pippo;
Grant succeeded.
* Proviamo ad abilitare l'evento 10053
wedosas01.RAIDTRN(SYS)> conn pippo/pippo
Connected.
wedosas01.RAIDTRN(PIPPO)> alter session set events '10053 trace name context forever , level 1';
ERROR:
ORA-01031: insufficient privileges
Connected.
wedosas01.RAIDTRN(PIPPO)> alter session set events '10053 trace name context forever , level 1';
ERROR:
ORA-01031: insufficient privileges
* Assegnamo allora esplicitamente il privilegio di ALTER SESSION...
wedosas01.RAIDTRN(PIPPO)> conn / as sysdba
Connected.
wedosas01.RAIDTRN(SYS)> grant alter session to pippo;
Grant succeeded.
Connected.
wedosas01.RAIDTRN(SYS)> grant alter session to pippo;
Grant succeeded.
* ...e riproviamo ad abilitarlo nuovamente
wedosas01.RAIDTRN(SYS)> conn pippo/pippo
Connected.
wedosas01.RAIDTRN(PIPPO)> alter session set events '10053 trace name context forever , level 1';
Session altered.
Connected.
wedosas01.RAIDTRN(PIPPO)> alter session set events '10053 trace name context forever , level 1';
Session altered.
Nessun commento:
Posta un commento