/usr/bin/sudo must be owned by uid 0 and have the setuid bit set version .ubantu14.04 LTS

前端 未结 4 1419
广开言路
广开言路 2021-01-06 09:22

when I set the EACCESS for npm and I was ran the chown command in my terminal for change owner permission but now i stuck in this sudo :\" /usr/bin/sudo must be owned by ui

4条回答
  •  心在旅途
    2021-01-06 10:13

    First restart your pc, and press the ESC key while Ubuntu is booting.

    This will bring you up the boot menu.

    Select Advanced Options.

    Select your OS version in (recovery mode), and press Enter Key.

    It will bring you up another screen. Now select “Drop to root shell prompt” and press Enter.

    It will load a command line at the bottom of the screen.

    Now run each of the following commands.

    mount -o remount,rw /
    mount --all
    chown root:root /usr/bin/sudo
    chmod 4755 /usr/bin/sudo
    shutdown -r now
    

提交回复
热议问题