Solved

spfile

Posted on 2011-03-20
6
445 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 73

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 73

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 73

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.

Join & Write a Comment

Article by: Swadhin
From the Oracle SQL Reference (http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/queries006.htm) we are told that a join is a query that combines rows from two or more tables, views, or materialized views. This article provides a glimps…
Checking the Alert Log in AWS RDS Oracle can be a pain through their user interface.  I made a script to download the Alert Log, look for errors, and email me the trace files.  In this article I'll describe what I did and share my script.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows syntax for various backup options while discussing how the different basic backup types work.  It explains how to take full backups, incremental level 0 backups, incremental level 1 backups in both differential and cumulative mode a…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now