quick-docs/en-US/performing-administration-tasks-using-sudo.adoc
2018-01-21 19:26:38 +01:00

32 lines
1.3 KiB
Text

[id='performing-administration-tasks-using-sudo']
= Performing administration tasks using sudo
How to perform tasks requiring *root* privileges without logging in as *root*.
include::en-US/modules/con_what-is-sudo.adoc[leveloffset=+1]
[id='how-to-use-sudo']
== How to use sudo
include::en-US/modules/con_using-sudo-assign-admin-privileges.adoc[leveloffset=+2]
include::en-US/modules/proc_using-same-password-for-root-as-user.adoc[leveloffset=+2]
include::en-US/modules/con_logging-sudo-commands.adoc[leveloffset=+2]
[[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::en-US/modules/con_sudo-timeout.adoc[leveloffset=+2]
include::en-US/modules/con_using-sudo-access-docker.adoc[leveloffset=+2]
include::en-US/modules/proc_run-docker-using-sudo.adoc[leveloffset=+2]
include::en-US/modules/con_using-sudo-without-password.adoc[leveloffset=+2]