Oracle修改sys/system密码

假如sys和system密码丢失,则需要使用oracle用户登录数据库所在的服务器https://www.cndba.cn/hbhe0316/article/4899

https://www.cndba.cn/hbhe0316/article/4899
https://www.cndba.cn/hbhe0316/article/4899
[root@db01 ~]# su -  oracle
Last login: Mon Oct  4 21:18:14 CST 2021 on pts/1
s[oracle@db01 ~]$ sqlplus / as sysdba

SQL*Plus: Release 19.0.0.0.0 - Production on Thu Oct 7 21:34:12 2021
Version 19.12.0.0.0

Copyright (c) 1982, 2021, Oracle.  All rights reserved.

Connected to an idle instance.

SQL> startup
ORACLE instance started.

Total System Global Area 2516581448 bytes
Fixed Size                  9141320 bytes
Variable Size            1207959552 bytes
Database Buffers         1291845632 bytes
Redo Buffers                7634944 bytes
Database mounted.
Database opened.
SQL> alter user sys identified by wwwwww;

User altered.

SQL> alter user system identified by wwwwww;

User altered.

以上命令将 sys/system 用户的密码修改为wwwwwwhttps://www.cndba.cn/hbhe0316/article/4899

https://www.cndba.cn/hbhe0316/article/4899
https://www.cndba.cn/hbhe0316/article/4899 https://www.cndba.cn/hbhe0316/article/4899
https://www.cndba.cn/hbhe0316/article/4899
https://www.cndba.cn/hbhe0316/article/4899
https://www.cndba.cn/hbhe0316/article/4899

版权声明:本文为博主原创文章,未经博主允许不得转载。

Linux,oracle

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值