Make sudo works like Ubuntu in other distros

sudo, linux, command, line
Image via xkcd.

Have you ever wonder about use sudo ubuntu-style in other GNU/Linux distributions?, here is how:

Fisrt, you’ll need root access (after this, just sudo 😉

Open the file: /etc/sudoers

Find the line:

root ALL=(ALL) ALL

and underneath add a new line:

[your username] ALL=(ALL) ALL

that’s it, now you can sudo any command, just like Ubuntu.

Leave a Reply