WEB开发网
开发学院数据库Oracle oracle_用户只有访问其他用户视图的权限 阅读

oracle_用户只有访问其他用户视图的权限

 2012-06-21 15:06:40 来源:WEB开发网   
核心提示: --创建用户CREATE USER lf IDENTIFIED BY lfPROFILE DEFAULTDEFAULT TABLESPACE userTEMPORARY TABLESPACE temp ACCOUNT UNLOCK;-- 授予权限 grant create session to query_dqb;g

 --创建用户
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/[email protected] file=D:/jwb.dmp log=D:/jwb.log
imp test/[email protected] file=D:/jwb.dmp full=y

Tags:oracle 用户 只有

编辑录入:爽爽 [复制链接] [打 印]
赞助商链接