Ubuntu: adding user, but not in sudoers by default

 
Post new topic   Reply to topic    34SP.com Forum Index // VPS (Virtual Private Server)
View previous topic :: View next topic  
Author Message
apacheuk
34SP Newbie
34SP Newbie


Joined: 20 Mar 2012
Posts: 12

PostPosted: Tue Apr 29, 2014 8:50 pm    Post subject: Ubuntu: adding user, but not in sudoers by default Reply with quote
Quick question, I've just logged in to a brand new VPS and was going about creating a new user and disabling root login via SSH.

I added the new user and added it to the sudo group, then logged in and tried to sudo and use apt-get to check for updates. I got the following error:

sudo:must be setuid root

I've never had this issue before in other 12.04 environments and did some googling and found out that in order to fix the issue I needed to run the following as root:

chmod +s /usr/bin/sudo

Now this did fix the issue, but my question is this... shouldn't this be set by default? Or has something potentially gone wrong when my VPS was built? Have other users experienced this and is it a quirk of the way 34sp build the environments?
Back to top
View user's profile Send private message
Post new topic   Reply to topic    34SP.com Forum Index // VPS (Virtual Private Server) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Powered by phpBB © 2001, 2002 phpBB Group