Installing and Configuring sudo on Gentoo
It is not always good to use root constantly, for this sudo exists. To install it simply run the command below,
-a is optional which is the same as
--ask, Portage asks you if you want to continue and also shows the package(s) that will be compiled.
After that fill in the field [NAME_YOUR_USER] with your user number
Then, run the command below
The first time you use sudo this message will appear:
Now just use sudo with the password of the user you chose!
More information: https://wiki.gentoo.org/wiki/Sudo