tan9p
V2EX  ›  Debian

升级 bullseye, sudo, su, login 都无法使用,需如何补救

  •  
  •   tan9p · Aug 5, 2021 · 2816 views
    This topic created in 1810 days ago, the information mentioned may be changed or developed.

    看到 bullseye 可以提前体验,昨天改好 sources.list,心说等正式发布了再升,今天没忍住开始了。 upgrade 过程中,提醒了 sudoer,uxterm,xterm 三个说是要保留原样,还是更新。都通通点的是更新。完成后就发现 sudo 用不了了,接着发现 su 也用不了,想着重启登 root,重启后不管输入什么用户名,会等六七秒钟,都不提示要输入密码,直接说 login incorrect.

    请问各位大侠,该如何补救,谢谢!

    7 replies    2021-08-16 16:44:40 +08:00
    wsy2220
        1
    wsy2220  
       Aug 5, 2021
    su 用 root 密码登录应该是可以的
    maobukui
        2
    maobukui  
       Aug 5, 2021
    su - root
    tan9p
        3
    tan9p  
    OP
       Aug 5, 2021
    谢谢两位,但是现在都无法登录到系统里,我一会儿试一下启动 U 盘
    Hardrain
        4
    Hardrain  
       Aug 5, 2021 via Android
    登不进去的话 live CD 挂上文件系统 chroot 进去修吧...
    tan9p
        5
    tan9p  
    OP
       Aug 5, 2021
    @Hardrain 谢谢大侠,`chroot`后,直接`passwd`提示
    `Authentication token manipulation error`

    `sudo password`提示
    `accout validation failure,is your account locked?`

    `su -`提示
    `Authentication failure`
    我用 google 查了一下,似乎与这个 bug[https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=951880]有关,感觉比较棘手。
    tan9p
        6
    tan9p  
    OP
       Aug 5, 2021
    我按它的说法建了个软连接,但还是不可以。
    atzlinux
        7
    atzlinux  
       Aug 16, 2021
    我昨天从 铜豌豆 10.10.1 升级到 Debian 11,能够正常登录系统。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3790 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 56ms · UTC 04:33 · PVG 12:33 · LAX 21:33 · JFK 00:33
    ♥ Do have faith in what you're doing.