1.修改ORACLE允许的最大连接数
[oracle@localhost ~]$ sqlplus / as sysdba
SQL> connect sys/sys as sysdba;
SQL> alter system set processes=400 scope = spfile;
SQL> create pfile from spfile;
SQL> shutdown immediate;
SQL> startup;
2、将密码有效期由默认的180天修改成“无限制”:
sql>ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;
3.修改密码
sql> alter user newca identified by 12345
一劳永逸破解11G180天自动密码失效的办法:
查询密码有效期
SELECT * FROM dba_profiles WHERE profile='DEFAULT' AND resource_name='PASSWORD_LIFE_TIME';
修改为无限制:
ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;