fazero
V2EX  ›  Ubuntu

忘记 ubuntu 密码和 root 密码了怎么重置

  •  
  •   fazero · Aug 29, 2015 · 4403 views
    This topic created in 3912 days ago, the information mentioned may be changed or developed.

    1.用的是 zsh
    2.能进入系统,因为没设开机密码
    3.https://help.ubuntu.com/community/LostPassword 这里 3. Select your image.

    1. Highlight the line that begins kernel and press 'e' to edit

    2. Go to the very end of the line, change the ro to rw and add init=/bin/bash

    press enter, then press b to boot your system.看得不是很懂

    5 replies    2015-08-30 11:29:37 +08:00
    jwk345
        1
    jwk345  
       Aug 29, 2015
    就是启动的时候从 grub 进入单用户模式,再修改 root 和其他用户密码
    fazero
        2
    fazero  
    OP
       Aug 29, 2015
    @jamesxu 已解决,记录步骤下来了[解决方法]( http://www.jianshu.com/p/fc319446f5f4 )
    inmyfree
        3
    inmyfree  
       Aug 29, 2015
    单用户模式可以解决这个问题
    loading
        4
    loading  
       Aug 29, 2015 via Android
    single 模式
    lxx1
        5
    lxx1  
       Aug 30, 2015
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4188 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 64ms · UTC 05:11 · PVG 13:11 · LAX 22:11 · JFK 01:11
    ♥ Do have faith in what you're doing.