diff options
| author | Chloe Kudryavtsev <toast@toastin.space> | 2018-12-31 21:19:04 -0500 | 
|---|---|---|
| committer | Chloe Kudryavtsev <toast@toastin.space> | 2018-12-31 21:19:04 -0500 | 
| commit | 45deba7c0922586b4484455dfc97223418d1eaf7 (patch) | |
| tree | de19329cce1dcc95822ad6fb2a0f8d8241ac5702 /modules | |
| parent | ddefe5cdc9baa8ce3d8a3902a85d4577b4a879b6 (diff) | |
| download | user-handbook-45deba7c0922586b4484455dfc97223418d1eaf7.tar.bz2 user-handbook-45deba7c0922586b4484455dfc97223418d1eaf7.tar.xz  | |
Add single-command sudo example
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/Working/pages/post-install.adoc | 2 | 
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/Working/pages/post-install.adoc b/modules/Working/pages/post-install.adoc index 5d22b76..f442f08 100644 --- a/modules/Working/pages/post-install.adoc +++ b/modules/Working/pages/post-install.adoc @@ -50,8 +50,10 @@ apk add sudo <1>  echo '%wheel ALL=(ALL) ALL' > /etc/sudoers.d/wheel <2>  adduser joe wheel <3>  sudo -i <4> +sudo command with arguments <5>  ----  <1> Sudo is not installed by default.  <2> By default, `sudo` only provides permissions to root. This translates as "people in the group `wheel` are allowed to perform any command, as any user, and any group."  <3> The wheel group mentioned above is the common "administrator" group, and since we're using it, we need to add our user to said group.  <4> You may need to log out and log back in for the group listing to update. `sudo -i` is the equivalent of `su -` otherwise. +<5> This will run "command with arguments" as the default `sudo` user - root.  | 
