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

前端 未结 4 1394
广开言路
广开言路 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 09:57

    Its beacuase of Permission issue

     $ su
     Password: 
    

    Switch to root user and run the command

    # pkexec chmod a=rx,u+ws /usr/bin/sudo
    

    Then check it by typing from the user

    $sudo -l
    

    it Works fine for me

    Cheers....

提交回复
热议问题