Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Password Expire 1

Status
Not open for further replies.

Friend33

Programmer
Nov 23, 2005
17
0
0
ZA
Hi Tharg,

Thank you for the help you have rendered to me so far.

Had 2 small issues (silly ones !!) so i thought i could ask you.

1. In 'alter user scott password expire' which we write
after the user has been e-mailed a username/password
combo. But, where specifically do i write this ?
Can you explain please ?

2. Also, how do i prevent users from reusing passwords
that have been used in the last 12 months ?

Thank You,

Ravi

 
Ravi,

you should expire the user's account in the same pl/sql routine that sends the email. You could also include advice in the email to the effect that the account has been configured to require the user to change their password, when next they log in. That way the user will be expecting the change.

With regard to preventing re-use, it is up to you to write a routine to implement your specific business requirements. Oracle has a password checking routine, but it is limited in scope. It is called PASSWORD_VERIFY_FUNCTION and can be used when you specify profiles. Whenever a user logs in, with a changed password, you have to pass this to your checking routine. The checking routine should check for re-use, easy to guess, password same as user name etc.

If you devise your own security, you will have to devise your own password checking routine.

I can't be more specific because I don't know if you're using Oracle standard security, your own custom Oracle security, front-end security or single sign-on.

Are you asking for me to post pl/sql that implements custom security?

Regards

Tharg

Grinding away at things Oracular
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top