xyduan


  • Home

  • Archives

  • Tags

  • Search

Linux forget password of root

Posted on 2016-02-24   |  

Reset password of root in recovery mode.

Ubuntu

Advanced options for Ubuntu

Advanced options for Ubuntu

recovery mode

press ‘e’
recovery mode

change recovery nomodeset to single init=/bin/bash

recovery nomodeset
single init=/bin/bash

remount

  1. mount
    mount
  2. mount -o remount, rw /
  3. mount
  4. passwd
    remount

Other reference

鸟哥的Linux私房菜
centos

#linux #ubuntu #root
logging request and response header to nginx access log
Accept http POST request to sent Email by django
  • Table Of Contents
  • Overview
xiuyanduan

xiuyanduan

DevOps

28 posts
0 categories
29 tags
GitHub 新浪微博
  1. 1. Ubuntu
    1. 1.1. Advanced options for Ubuntu
    2. 1.2. recovery mode
    3. 1.3. change recovery nomodeset to single init=/bin/bash
    4. 1.4. remount
  2. 2. Other reference
© 2015 - 2017 xiuyanduan
Powered by Hexo
Theme - NexT