1、搜索出用户的sid,serial#
select sid,serial# from v$session where username='user_name';
2、断开会话
alter system kill session 'sid,serial';
3、删除用户
drop user user_name cascade;
4、创建用户
create user user_name identified by password;
5、赋予基本角色
grant resource,connect to user_name;