Oracle密码复杂度设置

Oracle密码复杂度设置(Oracle_Password_Complexity)
 
一、Oracle_Password_Complexity: 
    SQL> alter system set resource_limit = true; 
    SQL> @ $ORACLE_HOME/RDBMS/ADMIN/utlpwdmg.sql → [verify_function|verify_function_11G] 
    SQL> alter profile default limit password_verify_function verify_function;
 
    # 取消Oracle密码复杂度检查:
    SQL> alter profile default limit password_verify_function null; 
    SQL> SELECT profile,resource_type,resource_name,limit FROM dba_profiles WHERE resource_type='PASSWORD' AND profile='DEFAULT';
 
   1.FAILED_LOGIN_ATTEMPTS: 用户在登录尝试失败n次后被锁定。
 
   2.PASSWORD_LOCK_TIME: 登录尝试失败达到指定次数,用户锁定时长,以“Day”为单位。
 
   3.PASSWORD_LIFE_TIME: 用户口令的生命周期。
 
   4.PASSWORD_GRACE_TIME: 表示用户口令使用时间超过其生命周期后,可以延续使用的天数,并且可延续时间内登录会有相应口令即将过期的提示。
 
   5.PASSWORD_REUSE_TIME: 指定了口令不能重用前的天数。
 
   6.PASSWORD_REUSE_MAX: 在达到PASSWORD_REUSE_TIME指定时间后,要再次使用同一口令前必须改变的次数。
 
   如:PASSWORD_REUSE_TIME=30,PASSWORD_REUSE_MAX=10,用户可以在30天以后重用该口令,要求口令必须被改变超过10次。
 
   7.PASSWORD_VERIFY_FUNCTION: Oracle允许将复杂的PL/SQL密码验证脚本做为参数传递给PASSWORD_VERIFY_FUNCTION。并且其自己提供了一个默认的脚本,但是用户可以创建自己的验证规则或使用第三方软件验证。
 
   8.Password Verify Function:
 
   When you create a password verify function for verifying the user password, this function can verify the following password characteristics:
 
   1.The minimum number of characters for the password.
 
   2.The characters that the password must contain, such as when a password should contain a specific number of numeric, alphabetic or special characters.  
 
   3.Whether or not the password can be the same as the username.Whether or not the new password can be similar to the previous password.
 
  Oracle 11g 数据库密码区分大小写的设置 → SEC_CASE_SENSITIVE_LOGON = TRUE.
  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值