来源于:Reset Root Password in Oracle Linux 7 (文档 ID 1954652.1)

注意:本文章也适用于RHEL7.x

APPLIES TO:

Linux OS - Version Oracle Linux 7.0 and later

Linux x86

Linux x86-64

GOAL

How to reset root password in Oracle linux 7

SOLUTION

1. While booting GRUB 2 Edit Menu Option (by pressing E)

2. Select the line starts with linux16******* (append "rd.break" at the end of the line), e.g.:

linux16 **** rd.break

3. Press ctrl+x to boot or start.

4. First we will remount the sysroot file system in read and write mode and then use chroot to got into a chroot jail:

# mount -o remount,rw /sysroot

# chroot /sysroot5. Type passwd command in the command line and press same password twice for reset root password:

# passwd

6. Make sure that all unlabel files ( including shadow ) get relabeled during booting:

# touch /.autorelabel

7. Type the command to sync:

# sync

8. Type twice exit command to leave & logout.

9. The system will apply some SELinux contexts and reboot.

oracle 7 密码,【翻译自mos文章】重置Oracle Linux 7中root的口令相关推荐

  1. 【翻译自mos文章】Oracle GoldenGate 怎么在源头的传输进程和目的端的server/collector进程之间分配 port?...

    Oracle GoldenGate 怎么在源头的传输进程和目的端的server/collector进程之间分配 port? 来源于: How Does GoldenGate Allocates Por ...

  2. 【翻译自mos文章】使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方式。...

    [翻译自mos文章]使用aum( Automatic Undo Management) 时遇到 ORA-01555错误--- 原因和解决方式. 使用aum( Automatic Undo Manage ...

  3. 【翻译自mos文章】对于JDBC thin client连接,ORA-28040 and SQLNET.ALLOWED_LOGON_VERSION_CLIENT

    对于JDBC thin client连接,ORA-28040 and SQLNET.ALLOWED_LOGON_VERSION_CLIENT的问题 来源于: ORA-28040 and SQLNET. ...

  4. 在Linux系统中root密码忘记了怎么办?一招教会你

    通常我们在Linux虚拟机中从普通用户($)切换到管理员用户(#)是需要输入密码的,但是不能避免有的人和我一样记忆不好,总是忘记密码,出现鉴定故障(Authentication failure) 解决 ...

  5. oracle报28003,【翻译自mos文章】运行utlpwdmg.sql之后报ORA-28003, ORA-20001, ORA-20002, ORA-20003, ORA-20004 错误...

    运行utlpwdmg.sql之后报ORA-28003, ORA-20001, ORA-20002, ORA-20003, ORA-20004 错误. 适用于: Oracle Server - Ente ...

  6. oracle 11.2.0.4 mos,【翻译自mos文章】在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的

    在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求 在RHEL7 or OEL7上安装oracle 11.2.0.4 db时的要求 来源于: Requirements fo ...

  7. 【翻译自mos文章】OGG的集成捕捉模式支持Oracle database标准版么?

    OGG的集成捕捉模式支持Oracle database标准版么? 来源于: Does OGG 11.2.1 Integrated Capture Work with Oracle Database S ...

  8. oracle asm磁盘回收步骤,【翻译自mos文章】回收 asm磁盘空间的方法

    回收 asm磁盘空间的方法 参考原文: How To Reclaim Asm Disk Space? (Doc ID 351866.1) 适用于: Oracle Database - Enterpri ...

  9. oracle oui gi是什么,【翻译自mos文章】在windows 2012上安装rac时,GI 的安装失败,报OUI-35024...

    在windows 2012上安装rac时,GI 的安装失败,报OUI-35024 来源于: RAC on Windows 2012: Grid Infrastructure Installation ...

最新文章

  1. [译]php和curl_multi_exec
  2. java shiro原理_Springboot shiro认证授权实现原理及实例
  3. SlidingMenu实现侧滑
  4. Python基础知识点分享:OS模块的应用
  5. Error running tomcat8 Address localhost:1099 is already in use 错误解决
  6. JavaScript事件处理程序的3种方式
  7. cygwin中如何使用gcc
  8. ZN200以太网转串口TTL(1)
  9. 大师级思考者是怎么探索事物本质的?
  10. java中isprime_Java中的Arcane isPrime方法
  11. SQL Server LEFT函数
  12. 【Excel】一、Excel入门指导
  13. 做硬件,想当然,犯大错
  14. matlab/simulink鼠标滚动设置成上下移动而不是缩放
  15. linux下ms安装教程,MS在linux的安装过程.doc
  16. 两数之和(LeetCode)
  17. 宇宙的精华与大数据的失败
  18. android监控手机使用次数,原来手机还自带监控功能,手机使用记录一清二楚,赖也赖不掉...
  19. ADS2020安装陷阱你学废了吗,小白狂喜教程
  20. 安全狗导致网站程序池被禁用_如何在Microsoft Office程序中禁用安全警告消息栏...

热门文章

  1. Amazon 电面流程梳理篇
  2. vscode 插件-better comments-代码注释高亮
  3. hpuoj【1040】寻找单身狗 【思维】
  4. 区块链技术--公证人机制
  5. 卷积神经网络之AlexNet(一)
  6. ui设计培训班要多少钱
  7. 吴恩达《Machine Learning Yearning》中文版!
  8. 我的世界服务器地皮文件,我的世界服务器怎么创建地皮世界.doc
  9. 软件开发零基础必备技能(大纲)
  10. 百度向前高管索赔五千万 专家称意在狙击腾讯等注资百度系