CentOS error - sudo: effective uid is not 0, is sudo installed setuid root?

后端 未结 3 1746
心在旅途
心在旅途 2021-01-04 10:28

I found another question with the same headline, however, I suppose my case is a bit different.

In an attempt to setup the new project, I needed to install nodejs.

3条回答
  •  误落风尘
    2021-01-04 10:39

    If anyone is still experiencing problems with sudo, I was able t solve it by checking the shell access of the account in WHM. I received the same error because the account had Jailed Shell restrictions. I set it to normal shell and the error was gone.

提交回复
热议问题