Home > Ask the Oracle Experts > Questions & Answers
Ask The Oracle Expert: Questions & Answers
EMAIL THIS

Enforcing password complexity

Karen Morton EXPERT RESPONSE FROM: Karen Morton

Pose a Question
Other Oracle Categories
Meet all Oracle Experts
Become an Expert for this site
>
QUESTION POSED ON: 17 March 2003
I am trying to enforce password complexity on certain profiles. How can I:
  1. Write and install a function to do this
  2. Call it each time someone tries to change the password?
I use DBA Studio. We are on Solaris 2.7, Oracle 8.1.6

>
EXPERT RESPONSE

If you haven't already looked at it, please see utlpwdmg.sql in your $ORACLE_HOME/rdbms/admin directory for the sample password verification function provided by Oracle. You should be able to modify that to your needs.

Once you have your function ready, alter the profile to which you wish to assign that password verification function.

For example:

-- This script alters the default parameters for Password Management. 
-- This means that all the users on the system have Password Management 
-- enabled and set to the following values unless another profile is 
-- created with parameter values set to different value or UNLIMITED 
-- is created and assigned to the user.  

ALTER PROFILE DEFAULT 
LIMIT PASSWORD_LIFE_TIME 60 
PASSWORD_GRACE_TIME 10 
PASSWORD_REUSE_TIME 1800 
PASSWORD_REUSE_MAX UNLIMITED 
FAILED_LOGIN_ATTEMPTS 3 
PASSWORD_LOCK_TIME 1/1440 
PASSWORD_VERIFY_FUNCTION verify_function; 
For more information, you can also refer to the Oracle documentation (these two in particular):
  • Oracle8i Administrator's Guide - Chapter 22 Establishing Security Policies
  • Oracle8i SQL Reference - ALTER PROFILE, CREATE PROFILE Statements

For More Information


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice

HomeNewsTopicsTipsAsk the ExpertsMultimediaWhite PapersProductsBlogs
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




All Rights Reserved, Copyright 2003 - 2008, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts