Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 463
  • Last Modified:

spfile

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
nobleit
Asked:
nobleit
  • 3
  • 2
1 Solution
 
MrNedCommented:
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
 
sdstuberCommented:
DB means your audit records are written to sys.aud$ and are visible through the dba_audit_trail view
0
 
nobleitAuthor Commented:
Can you give me an example?
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
sdstuberCommented:
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
 
nobleitAuthor Commented:
Could you please help me to access dba_audit_trial view..

0
 
sdstuberCommented:
if you don't have access, you'll have to ask your dba to give you the privilege
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now