设为首页 收藏本站
查看: 671|回复: 0

[经验分享] ORACLE概要文件PROFILE

[复制链接]

尚未签到

发表于 2015-12-18 09:56:22 | 显示全部楼层 |阅读模式
    Use the following clauses to set password parameters. Parameters that set lengths of time—that is, all the password parameters exceptFAILED_LOGIN_ATTEMPTS and PASSWORD_REUSE_MAX—are interpreted in number of days. For testing purposes you can specify minutes (n/1440) or even seconds (n/86400) for these parameters. You can also use a decimal value for this purpose (for example .0833 for approximately one hour). The minimum value is 1 second. The maximum value is 24855 days. For FAILED_LOGIN_ATTEMPTS and PASSWORD_REUSE_MAX, you must specify an integer.
    FAILED_LOGIN_ATTEMPTS      Specify the number of consecutive failed attempts to log in to the user account before the account is locked. If you omit this clause, then the default is 10 times.
  指定连续登录错误的最大次数,超过这个次数,该账户就会被锁定,默认为10次
    PASSWORD_LIFE_TIME      Specify the number of days the same password can be used for authentication. If you also set a value for PASSWORD_GRACE_TIME, then the password expires if it is not changed within the grace period, and further connections are rejected. If you omit this clause, then the default is 180 days.
  指定密码的最长有效期;如果设置了 PASSWORD_GRACE_TIME,如果过了这个值设置的宽限期,还没有改密码,密码将会过期;如果你忽略了设置 PASSWORD_LIFE_TIME的值,默认将是180
  See Also:
Oracle Database Security Guide for information on setting PASSWORD_LIFE_TIME to a low value    PASSWORD_REUSE_TIME and PASSWORD_REUSE_MAX      These two parameters must be set in conjunction with each other. PASSWORD_REUSE_TIME specifies the number of days before which a password cannot be reused. PASSWORD_REUSE_MAX specifies the number of password changes required before the current password can be reused. For these parameter to have any effect, you must specify a value for both of them.
  PASSWORD_REUSE_TIME 和 PASSWORD_REUSE_MAX 必须联合起来使用
      PASSWORD_REUSE_TIME指定口令被更改后,原有口令要隔多少天才能被重新使用,
      PASSWORD_REUSE_MAX指定口令被更改多少次后,原有口令才能被重新使用 

  • If you specify a value for both of these parameters, then the user cannot reuse a password until the password has been changed the number of times specified for PASSWORD_REUSE_MAX during the number of days specified for PASSWORD_REUSE_TIME.
    For example, if you specify PASSWORD_REUSE_TIME to 30 and PASSWORD_REUSE_MAX to 10, then the user can reuse the password after 30 days if the password has already been changed 10 times.
  • If you specify a value for either of these parameters and specify UNLIMITED for the other, then the user can never reuse a password.
  • If you specify DEFAULT for either parameter, then Oracle Database uses the value defined in the DEFAULT profile. By default, all parameters are set to UNLIMITED in the DEFAULT profile. If you have not changed the default setting of UNLIMITED in the DEFAULT profile, then the database treats the value for that parameter as UNLIMITED.
  • If you set both of these parameters to UNLIMITED, then the database ignores both of them. This is the default if you omit both parameters.
    PASSWORD_LOCK_TIME      Specify the number of days an account will be locked after the specified number of consecutive failed login attempts. If you omit this clause, then the default is 1 day.
  因账户被连续的登录失败后锁定,该参数指定锁定的时间,单位为天,默认值为1天
    PASSWORD_GRACE_TIME      Specify the number of days after the grace period begins during which a warning is issued and login is allowed. If you omit this clause, then the default is 7 days.
      口令修改的宽限天数,当宽限期开始时,会在登录时提示一个警告,默认值为7天
    PASSWORD_VERIFY_FUNCTION      The PASSWORD_VERIFY_FUNCTION clause lets a PL/SQL password complexity verification script be passed as an argument to the CREATEPROFILE statement. Oracle Database provides a default script, but you can create your own routine or use third-party software instead.
  指定用于判断口令复杂度的函数

  • For function, specify the name of the password complexity verification routine.
  • Specify NULL to indicate that no password verification is performed.

运维网声明 1、欢迎大家加入本站运维交流群:群②:261659950 群⑤:202807635 群⑦870801961 群⑧679858003
2、本站所有主题由该帖子作者发表,该帖子作者与运维网享有帖子相关版权
3、所有作品的著作权均归原作者享有,请您和我们一样尊重他人的著作权等合法权益。如果您对作品感到满意,请购买正版
4、禁止制作、复制、发布和传播具有反动、淫秽、色情、暴力、凶杀等内容的信息,一经发现立即删除。若您因此触犯法律,一切后果自负,我们对此不承担任何责任
5、所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其内容的准确性、可靠性、正当性、安全性、合法性等负责,亦不承担任何法律责任
6、所有作品仅供您个人学习、研究或欣赏,不得用于商业或者其他用途,否则,一切后果均由您自己承担,我们对此不承担任何法律责任
7、如涉及侵犯版权等问题,请您及时通知我们,我们将立即采取措施予以解决
8、联系人Email:admin@iyunv.com 网址:www.yunweiku.com

所有资源均系网友上传或者通过网络收集,我们仅提供一个展示、介绍、观摩学习的平台,我们不对其承担任何法律责任,如涉及侵犯版权等问题,请您及时通知我们,我们将立即处理,联系人Email:kefu@iyunv.com,QQ:1061981298 本贴地址:https://www.yunweiku.com/thread-152817-1-1.html 上篇帖子: ORACLE通过透明网关连接DB2 下篇帖子: oracle 统计redo统计当天日志生成和最近日期日志生成统计
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

扫码加入运维网微信交流群X

扫码加入运维网微信交流群

扫描二维码加入运维网微信交流群,最新一手资源尽在官方微信交流群!快快加入我们吧...

扫描微信二维码查看详情

客服E-mail:kefu@iyunv.com 客服QQ:1061981298


QQ群⑦:运维网交流群⑦ QQ群⑧:运维网交流群⑧ k8s群:运维网kubernetes交流群


提醒:禁止发布任何违反国家法律、法规的言论与图片等内容;本站内容均来自个人观点与网络等信息,非本站认同之观点.


本站大部分资源是网友从网上搜集分享而来,其版权均归原作者及其网站所有,我们尊重他人的合法权益,如有内容侵犯您的合法权益,请及时与我们联系进行核实删除!



合作伙伴: 青云cloud

快速回复 返回顶部 返回列表