Enable Sudo on Fuduntu 2012.4

By default, there is no sudoer user in Fuduntu 2012.4. Because the sudo feature is debian originally, Fuduntu created their own sudo called beesu.

If you are lazy, you can only alias sudo to beesu, and pretend you are using sudo on a Fedora System:

$ alias sudo="beesu"

To make the alias persistent type this in your terminal: echo ‘sudo=”beesu”‘ >> ~/.bashrc

And now, instead of running beesu yum -y install libreoffice, you run sudo yum -y install libreoffice which replaces in background sudo with beesu and runs beesu yum -y install libreoffice, to install libreoffice.

A better solution is to enable sudo. Actually, sudo is enabled, but only root is a sudoer user, by default.

So, this is how you enable sudo on Fuduntu:

$ su -
# visudo

Now, create a duplicate line root ALL=(ALL) ALL, and replace root with the user’s name that you want to have sudo access. Like this:

root ALL=(ALL) ALL
your_user ALL=(ALL) ALL

Now, save the changes and exit from vim.

Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!
One comment on “Enable Sudo on Fuduntu 2012.4
  1. Fewt says:

    The wheel group is also enabled. Add the user to the wheel group, and they will be able to sudo. During the firstboot wizard if the user selects the Administrator checkbox it will automatically place them into the wheel group also.

    Hope it helps!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!