关于oracle用户环境文件profile
用户环境文件temp_profile中有两个参数sessions_per_user和failed_login_attempts分别表示一个用户拥有的会话数量和登录口令错误次数
我用了如下命令:
create profile temp_profile limit sessions_per_user 3;
建立环境文件口令错三次后,锁住帐户;
alter profile temp_profile limit failed_login_attempts 1;
配置环境文件用户只能同时拥有1个会话;
alter user alex profile temp_profile;
将参数文件指向用户alex;
之后,用alex用户登录数据库,三次口令错误后,帐号被锁,说明环境文件生效;
解锁后,用正确口令在三个不同工作站同时登录数据库,均能登录进去,
难道会话数的参数不起作用吗?搞不懂!
我以前的用户环境文件没有设过,用的是默认的default.