Sudo and apt not working on website. Gives following message when type sudo: "sudo: effective uid is not 0, is sudo installed setuid root?"
Hello everyone, so recently I got my website and I have been trying to download some things to it via SSH. However whenever I try to use the command sudo it gives me this:
Also whenever I try to use apt it just gives me this:
Any kind of help would be really appriciated! Thanks, Splat
sudo: effective uid is not 0, is sudo installed setuid root?Also whenever I try to use apt it just gives me this:
-jailshell: apt-get: command not foundAny kind of help would be really appriciated! Thanks, Splat
-
apt is for Debian based distro, you should use yum. You should also ensure that your user has sudo access, usually a standard cpanel user does not have those accesses. Do you have access to whm? 0 -
Do you actually have administrative privileges on this server? Or are you just reading some random guide that tells you to run this, this, and this command to accomplish a specific task? 0 -
Hey there! It does look like the commands you're using may not be applicable to your environment, as previous users have mentioned. If you could let us know the specific software or tools you are trying to setup we can likely let you know if those will work in a cPanel/Yum environment or if there is an alternative available. 0
Please sign in to leave a comment.
Comments
3 comments