From f8687d1bb0b1b545183a994982ae09b225382d92 Mon Sep 17 00:00:00 2001 From: Nguyen Tran Hau Date: Wed, 28 Apr 2021 16:30:13 +0700 Subject: [PATCH] docs: sudo first --- install-archlinux.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/install-archlinux.md b/install-archlinux.md index 76e5df7..be597cc 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -229,6 +229,15 @@ Always remember to check **dependencies** when install packages. ### System administration +#### [Sudo](https://wiki.archlinux.org/index.php/sudo) + +```sh +pacman -Syu sudo + +EDITOR=nvim visudo +# Uncomment group wheel +``` + #### [Users and groups](https://wiki.archlinux.org/index.php/users_and_groups) Add user: @@ -253,15 +262,6 @@ homectl create joker --real-name="The Joker" --member-of=wheel **Note**: can not run `homectl` when install Arch Linux, should run on the first boot. -#### [Sudo](https://wiki.archlinux.org/index.php/sudo) - -```sh -pacman -Syu sudo - -EDITOR=nvim visudo -# Uncomment group wheel -``` - ### Desktop Environment Install [Xorg](https://wiki.archlinux.org/index.php/Xorg):