docs: sudo first

main
sudo pacman -Syu 2021-04-28 16:30:13 +07:00
parent 8ff1de9f49
commit f8687d1bb0
1 changed files with 9 additions and 9 deletions

View File

@ -229,6 +229,15 @@ Always remember to check **dependencies** when install packages.
### System administration ### 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) #### [Users and groups](https://wiki.archlinux.org/index.php/users_and_groups)
Add user: 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. **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 ### Desktop Environment
Install [Xorg](https://wiki.archlinux.org/index.php/Xorg): Install [Xorg](https://wiki.archlinux.org/index.php/Xorg):