= Configuring sudo

include::{md}/concept-what-is-sudo.adoc[leveloffset=+1]

= How to use sudo

include::{md}/concept-using-sudo-assign-admin-privileges.adoc[leveloffset=+1]

include::{md}/procedure-using-same-password-for-root-as-user.adoc[leveloffset=+1]

include::{md}/concept-logging-sudo-commands.adoc[leveloffset=+1]

[[concept-warning-and-caveats]]
= Warnings and caveats
You must use the `user` account you created following the installation process, at first boot, for daily use and the `root` account only for system administration. Avoid using `root` for any non-administration usage, since the account makes it easy to create security or data risks.

There are several potential risks to keep in mind when using the [command]`sudo` command. You can avoid them by editing the [filename]`/etc/sudoers` configuration file using [command]`visudo` command.

include::{md}/concept-sudo-timeout.adoc[leveloffset=+1]

include::{md}/concept-using-sudo-access-docker.adoc[leveloffset=+1]

include::{md}/procedure-run-docker-using-sudo.adoc[leveloffset=+1]

include::{md}/concept-using-sudo-without-password.adoc[leveloffset=+1]


See a typo, something missing or out of date, or anything else which can be
improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.
