Oracle查询数据库密码哪一天过期,有效期时间,以及修改为永不过期 |
您所在的位置:网站首页 › oracle密码 › Oracle查询数据库密码哪一天过期,有效期时间,以及修改为永不过期 |
1、oracle查询数据库密码哪一天过期 select username,account_status,expiry_date,profile from dba_users;其中expiry_date即是过期的时间 2、查询数据库密码有效期 select * from dba_profiles s where s.profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';3、修改数据库密码永不过期 alter profile default limit password_life_time unlimited;4、修改数据库密码180天过期 alter profile default limit password_life_time 180;5、如果还是提示密码过期,要修改一下密码,可以修改成和之前一样的 alter user 用户名 identified by 原来的密码;6、如果被锁定了,可以解锁 alter user 被锁用户名 account unlock; |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |