2017-12-14 04:39:42 +00:00
= Configuring sudo
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/concept-what-is-sudo.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
= How to use sudo
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/concept-using-sudo-assign-admin-privileges.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/procedure-using-same-password-for-root-as-user.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/concept-logging-sudo-commands.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
[[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.
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
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.
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/concept-sudo-timeout.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/concept-using-sudo-access-docker.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/procedure-run-docker-using-sudo.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
2017-12-14 04:39:42 +00:00
include::{md}/concept-using-sudo-without-password.adoc[leveloffset=+1]
2017-10-26 21:20:01 +00:00
See a typo, something missing or out of date, or anything else which can be
2017-11-10 15:16:19 +00:00
improved? Edit this document at https://pagure.io/fedora-docs/quick-docs.