Oracle用户只有访问其他用户视图的权限 :
--创建用户
CREATE USER lf IDENTIFIED BY lf
PROFILE DEFAULT
DEFAULT TABLESPACE user
TEMPORARY TABLESPACE temp
ACCOUNT UNLOCK;
-- 授予权限
grant create session to query_dqb;
grant select on db_jwb.view_organization to lf;
grant select on db_jwb.view_security_officers to lf;
-- grant select on view_security_officers to lf;
-- 查看用户的权限 角色 对表的操作
select * from session_roles;
select * from session_privs;
select * from user_tab_privs;
--oracle--- admin文件 sqlnet文件
SQLNET.AUTHENTICATION_SERVICES= (NONE)
SQLNET.AUTHENTICATION_SERVICES= (NTS)表示操作系统认证
exp test/webtec@orcl file=D:/jwb.dmp log=D:/jwb.log
imp test/lf@orac02 file=D:/jwb.dmp full=y