docs: sudo first
parent
8ff1de9f49
commit
f8687d1bb0
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue