当前位置:网站首页>CDB PDB user rights management
CDB PDB user rights management
2022-07-07 02:32:00 【User 8006012】
Public and local users
[email protected]> select username,common,con_id from cdb_users
where username in ('SYS','HR');
COMMON Columns show YES For public users , In all containers, including those created in the future PDB There are
COMMON Columns show NO For local users , Only exists in the current container cdb Create public users in
Create public users c##user01, Set the password to oracle
[email protected]> create user c##user01 identified by oracle;
[email protected]> select username,common,con_id from cdb_users
where username in ('SYS','HR','C##USER01');pdb Create local users in
pdb Create local users in user02
[email protected]> create user user02 identified by oracle;
[email protected]> select username,common,con_id from cdb_users
where username in ('SYS','HR','C##USER01','USER02');Public and local permissions and roles
cdb To authorize public users
stay cdb It is specified in container=current To authorize
[email protected]> grant connect to c##user01 container=current;
cdb Login with permission , pdb No authority
sqlplus c##user01/[email protected]
sqlplus c##user01/[email protected]
stay cdb Authorized in container=all
[email protected]> grant connect to c##user01 container=all;
cdb pdb All have authority pdb To authorize local users
pdb Authorize local users in , Appoint container=all Report errors , Appoint container=current success
[email protected]> grant connect to user02 container=all;
[email protected]> grant connect to user02 container=current;边栏推荐
- 猿桌派第三季开播在即,打开出海浪潮下的开发者新视野
- Apifox,你的API接口文档卷成这样了吗?
- Lombok同时使⽤@Data和@Builder 的坑
- Dall-E Mini的Mega版本模型发布,已开放下载
- Halcon instance to opencvsharp (C openCV) implementation -- bottle mouth defect detection (with source code)
- 人脸识别应用解析
- [C # notes] use file stream to copy files
- Use of fiddler
- Compress JS code with terser
- Use of pgpool II and pgpooladmin
猜你喜欢

3D laser slam: time synchronization of livox lidar hardware

猿桌派第三季开播在即,打开出海浪潮下的开发者新视野

postgresql之整体查询大致过程

unity中跟随鼠标浮动的面板,并可以自适应文字内容的大小

Word wrap when flex exceeds width

Station B's June ranking list - feigua data up main growth ranking list (BiliBili platform) is released!

1个月增长900w+播放!总结B站顶流恰饭的2个新趋势

postgresql之integerset

Sensor: introduction of soil moisture sensor (xh-m214) and STM32 drive code

Decryption function calculates "task state and lifecycle management" of asynchronous task capability
随机推荐
String or binary data will be truncated
Argo workflows source code analysis
Use of fiddler
Chang'an chain learning notes - certificate model of certificate research
Alibaba cloud middleware open source past
Processing image files uploaded by streamlit Library
Lumion 11.0软件安装包下载及安装教程
阿里云中间件开源往事
Web3对法律的需求
【论文阅读|深读】ANRL: Attributed Network Representation Learning via Deep Neural Networks
Go swagger use
Draco - gltf model compression tool
6-6漏洞利用-SSH安全防御
4 -- Xintang nuc980 mount initramfs NFS file system
15million employees are easy to manage, and the cloud native database gaussdb makes HR office more efficient
The empirical asset pricing package (EAP) can be installed through pypi
老板被隔离了
[paper reading | deep reading] graphsage:inductive representation learning on large graphs
4--新唐nuc980 挂载initramfs nfs文件系统
Integerset of PostgreSQL