Home > Database > Mysql Tutorial > body text

修改Oracle默认用户密码有效期时间

WBOY
Release: 2016-06-07 16:56:09
Original
1201 people have browsed it

1、查看用户的proifle是哪个,一般是default: sqlgt;SELECT username,PROFILE FROM dba_users; 2、查看指定概要文件

修改Oracle默认用户密码有效期时间

[日期:2010-03-03] 来源:Linux社区  作者:Linux编辑 [字体:]

  1、查看用户的proifle是哪个,,一般是default:

  sql>SELECT username,PROFILE FROM dba_users;

  2、查看指定概要文件(如default)的密码有效期设置:

  sql>SELECT * FROM dba_profiles s WHERE s.profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';

  3、将密码有效期由默认的180天修改成“无限制”:

  sql>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;

  修改之后不需要重启动数据库,会立即生效。

linux

  • 0
  • 配置Oracle RAC需要注意的问题

    Oracle DDL,DML,DCL,TCL 基础概念

    Related labels:
    source:php.cn
    Statement of this Website
    The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
    Popular Tutorials
    More>
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template