ORACLE_基础十二(Profiles)

本文介绍了Oracle数据库中如何使用配置文件进行密码管理,包括设置密码复杂度、限制密码重用次数及时间等策略,以及如何通过CREATE USER或ALTER USER命令为用户分配配置文件。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Profiles

1.A pfofile is a named set of password and resource limits

2.Profile are saaigned to users by the CREATE USER or ALTER USER command

3.Profiles can be enabled or disabled

4.Profiles can relate to the DEFAULT profile.


Password Management


Enabling  Password Mgmt

1.Set up password management by using profiles and assigning them to users

2.Lock unlock,and expire accounts using the CREATE USER or ALTER USER command

3.Password limits are always enforced

4.To enable password management,run utlpwdmg.sql script as the user SYS.


Profiles Parameter

FAILED_LOGIN_ATTEMPTS: Number of failed login attempts before loackout of the account

PASSWORD_LOCK_TIME: Number of days the account is locked after the specified number of failed login attempts

PASSWORD_LIFE_TIME: Lifetime of the password in days after which the password expires

PASSWORD_GRACE_TIME: Grace period in days for changing the password after the first successful login after   

                                               the password has expired

PASSWORD_REUSE_TIME: Number of days before a password can be reused

PASSWORD_REUSE_MAX :Maximum number of changes required before a password can be reused

PASSWORD_VERIFY_FUNCTION: PL/SQL function that performs a password complexity check before

                                                              password is assigned

Use-Provided Passwd Func












评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值