用户profile口令管理:
//进入system用户,进行配置,自定义profile名
create profile profile(配置名) limit failed_login_attempts 3 //输入三次
password_lock_time 2;//锁定时间两天
//对Scot设置profile配置,并进行测试
alter user scott accout unlock;
//输入密码测试是否成功
案例:对一个账号的密码进行限制,最多使用十天,宽限期为2天,到时密码修改。
create profile profile(配置名) limit password_life_time 2
password_grace_time 2;
alter user scott profile profile( 配置名);
//修改自己的系统时间进行测试
删除配置文件:
drop profile profile(配置名) 【cscade】;