summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDavid T. Sadler <davidtsadler@googlemail.com>2020-06-15 22:44:16 +0100
committerDavid T. Sadler <davidtsadler@googlemail.com>2020-06-15 22:44:16 +0100
commit126598243131182122e7ea1e4088187223e9a967 (patch)
tree642c17f31136f6730ba2299536273236fb194046 /source
parent871c83c7454836ff2e441a31c4bcefbb63c26bf5 (diff)
Add missing installation of sudo package
Diffstat (limited to 'source')
-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