I have an Oracle Database 11g R2 on Oracle Enterprise Linux. I have enabled SYS auditing as:
SQL> ALTER SYSTEM SET audit_sys_operations=true SCOPE=spfile;
SQL> ALTER SYSTEM SET audit_trail=OS SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE
SQL> STARTUP
The audit information is storing in adump folder. But I want to set audit trail to Database(i-e: in SYS.AUD$). I have tried this:
SQL> ALTER SYSTEM SET audit_trail=DB SCOPE=spfile;
SQL> SHUTDOWN IMMEDIATE
SQL> STARTUP
but after this setting, audit records are not going to SYS.AUD$ but instead these are going to operating system adump folder. So how can I set audit trail to database?