summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/_posts/granting_sudo_access_to_a_user_in_arch_linux.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/source/_posts/granting_sudo_access_to_a_user_in_arch_linux.md b/source/_posts/granting_sudo_access_to_a_user_in_arch_linux.md
index 18ce3b5..b3648b1 100644
--- a/source/_posts/granting_sudo_access_to_a_user_in_arch_linux.md
+++ b/source/_posts/granting_sudo_access_to_a_user_in_arch_linux.md
@@ -28,6 +28,12 @@ I used the below options with the command.
- *-a* Modifies the *-G* argument so that the user is added to the specified groups and not removed from any existing ones.
- *-G* The list of supplementary groups that the user will be made a member of. In this case it's just *wheel*. Note that you need to pass *-a* otherwise the user will be removed from any group that is not listed.
+The *sudo* package then needed to be installed.
+
+```shell
+$ pacman -S sudo
+```
+
Next I needed to grant *sudo* access to the wheel group by editing */etc/sudoers* with *visudo*. Note that the default editor for *visudo* is *vi*. Since this has not been installed on my system I can change the editor to be *nvim* by first setting the variable *EDITOR*.
```shell