Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By typing sudo su, any sudoer can go into the root prompt & thus change the root password!

Then what is the use of having a root & then the sudoers , because now sudoers can interfere with the root account!

Doesn't this sound ODD ??

share|improve this question
I don't see what's wrong. Please, explain me. And I wonder whether it's a question. – Rafał Cieślak Dec 27 '10 at 20:50

sudo is just a way to become root, similar to login and su. Everyone who can run passwd as root can change root's password, there's nothing special about sudo.

share|improve this answer

No, this isn't odd. This is rather what the /etc/sudoers file and groups are all about.

By default, anybody in the admin group can perform any command through sudo as defined by the line:

%admin ALL=(ALL) ALL

If you think it odd that users who are noted as admins can do this, comment out that line, or, and perhaps being more sensible, you just remove them from the admin group if you don't trust them as a system admin.

Additionally, you can allow only certain commands for certain users or groups through sudo.

share|improve this answer

Did you ran another sudo whatever before ? In this case you won't be asked for the root password.
Of course you have to be careful with what sudoers are allowed to do !

This was already discussed a long time ago by debian users here ;-)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.