Solved

spfile

Posted on 2011-03-20
6
448 Views
Last Modified: 2012-05-11
SQL> alter system set audit_trail=DB scope=spfile;

Can you please tell me DB is the name of the database to provide..
please want to make sure.

Thanks in advance
0
Comment
Question by:nobleit
  • 3
  • 2
6 Comments
 
LVL 7

Expert Comment

by:MrNed
ID: 35176988
No, "DB" is the actual value you specify as in set auditing for the entire database. It is not the name of the database.
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 35177073
DB means your audit records are written to sys.aud$ and are visible through the dba_audit_trail view
0
 

Author Comment

by:nobleit
ID: 35177753
Can you give me an example?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 74

Accepted Solution

by:
sdstuber earned 500 total points
ID: 35178127
as a privileged user...

audit alter user

then restart your database, because scope=spfile means the change is only written to the spfile so you must restart to pick it up


then change your password and look in dba_audit_trail  view  you will see a record showing you used the "alter user" command
0
 

Author Comment

by:nobleit
ID: 35195544
Could you please help me to access dba_audit_trial view..

0
 
LVL 74

Expert Comment

by:sdstuber
ID: 35224620
if you don't have access, you'll have to ask your dba to give you the privilege
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction A previously published article on Experts Exchange ("Joins in Oracle", http://www.experts-exchange.com/Database/Oracle/A_8249-Joins-in-Oracle.html) makes a statement about "Oracle proprietary" joins and mixes the join syntax with gen…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
This video shows how to Export data from an Oracle database using the Original Export Utility.  The corresponding Import utility, which works the same way is referenced, but not demonstrated.
This video shows how to copy an entire tablespace from one database to another database using Transportable Tablespace functionality.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question