当前位置:网站首页>oracle删除用户后,却还可以使用该用户登录
oracle删除用户后,却还可以使用该用户登录
2022-06-11 12:09:00 【三岁Funny】
oracle删除用户后,却还可以使用该用户登录
描述:本地安装了个oracle碰到以下问题:
今天在oracle里创建用户 用system以DBA身份登录后执行语句create user test identified by ESB_USER default tablespace tspace_temporary _tablespace_temp;
然后我又删除了该用户,drop user test cascade;
可是这时候我发现test用户用normal用户无法登录,但是用SYSDBA竟然能登录进去,这就有的疑惑啦??
百度了下,貌似都不对. 最后终于找到答案,原因是oracle认证。
oracle认证分为os认证和口令认证
出现以上状况,登录的时候根本和test这个用户无关,登录oracle用的是os认证,登录后用户是sys
你的密码:test,123,578,随意密码都能登,因为根本没关系。
解决办法是更改认证方式:
修改数据库的sqlnet.ora 文件,如下图:
SQLNET.AUTHENTICATION_SERVICES= (NTS)改为
SQLNET.AUTHENTICATION_SERVICES= (NONE)
再试试,除了存在的用户,神马用户都不行啦!
边栏推荐
- The wonderful use of XOR (C language)
- 创建线程的四种方式
- 数据如何在 Splunk 中老化?
- 秒杀中的验证码安全机制
- 中国联通 22春招 群面
- 13、ReentrantLock、ReentrantReadWriteLock、StampedLock讲解
- Deep learning and CV tutorial (14) | image segmentation (FCN, segnet, u-net, pspnet, deeplab, refinenet)
- 美创科技数据安全管理平台荣获2022数博会“领先科技成果奖”
- 记一次 mysql 主从不同步问题排查
- (recommended) how many splunks are appropriate? Search head
猜你喜欢

JMeter 学习心得

Secret derrière le seau splunk

秒杀多级缓存-----商品详情页

.net core 抛异常对性能影响的求证之路

7. CAS

How does Wireshark modify the display format of packet capturing time and date?

2、CompletableFuture

Is reflection really time-consuming? How long does it take to reflect 100000 times.

中国网络安全年会周鸿祎发言:360安全大脑构筑数据安全体系

(recommended) how many splunks are appropriate? Search head
随机推荐
Splunk最佳实践之workload managment
Gocron scheduled task management platform
UnicodeDecodeError: ‘utf-8‘ codec can‘t decode byte 0xc5 in position 13: invalid continuation byte
Jerry's aicmd command [chapter]
How does data age in Splunk?
Ettercap sniffing of man in the middle attack
Flink deployment mode and runtime architecture (session mode, single job mode, application mode, jobmanager, taskmanager, yarn mode deployment and runtime architecture)
Harmonyos application development -- General app interface framework appgeneralframework[app general framework][api v6]
记一次codis内存清理
一些比较的常用网站
flink Spark 和 Flink对比
14、课程总结与回顾
flink 滚动窗口、滑动窗口、会话窗口、全局窗口
ftp服务器:serv-u 的下载及使用
Generate statement is not synthesized
Problems encountered recently when using nodejs Pinyin package
Troubleshoot Splunk kvstore "starting"
进度条加载
Splunk health checks orphaned searches
CentOS installation mysql5.7