oracle11g用户密码过期

2013-01-18  刘尧昌 

Oracle 11g default profile 默认启用密码过期180天 ORA-28001错误处理
分析:原来Oracle 11g之前默认的profile是没有密码过期的限制的,在Oracle 11g中默认的profile启用了密码过期时间是180天,去除这个限制便可。
查询默认的profile的密码过期的设置
select * from dba_profiles
where profile='DEFAULT' and resource_name='PASSWORD_LIFE_TIME';
设置default profile密码永不过期,立即生效,不需重启
alter profile default limit password_life_time unlimited;
已经过期的密码就需要改了,可以该成一样
可以sqlplus 登录会提示你改密码
也可以alter user username identified by password;
创建表空间:create  tablespace BIEE datafile 'E:\app\Administrator\oradata\orclodi11g\BIEE.dbf' size  200m  autoextend on  next 10m  maxsize unlimited;
4.创建用户
   create user biee identified by biee default tablespace BIEE;
   5.授权
   grant dba to biee;
   6.退出
   exit;
 
395°/3957 人阅读/0 条评论 发表评论

登录 后发表评论