From 126598243131182122e7ea1e4088187223e9a967 Mon Sep 17 00:00:00 2001 From: "David T. Sadler" Date: Mon, 15 Jun 2020 22:44:16 +0100 Subject: Add missing installation of sudo package --- source/_posts/granting_sudo_access_to_a_user_in_arch_linux.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- cgit v1.2.3-13-gbd6f