From 216503969b65028440e858f7ec7f3939b913dcf6 Mon Sep 17 00:00:00 2001 From: Hau Nguyen Date: Sun, 19 Dec 2021 23:19:20 +0700 Subject: [PATCH] Readd useradd in arch linux --- install-archlinux.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/install-archlinux.md b/install-archlinux.md index a04b208..0a91576 100644 --- a/install-archlinux.md +++ b/install-archlinux.md @@ -239,6 +239,15 @@ pacman -Syu sudo EDITOR=nvim visudo # Uncomment group wheel + +# Add user if don't want to use systemd-homed +useradd -m -G wheel -c "The Joker" joker + +# Or using zsh +useradd -m -G wheel -s /usr/bin/zsh -c "The Joker" joker + +# Set password +passwd joker ``` [systemd-homed](https://wiki.archlinux.org/index.php/Systemd-homed): @@ -249,7 +258,6 @@ systemctl enable systemd-homed.service homectl create joker --real-name="The Joker" --member-of=wheel # Using zsh -pacman -Syu zsh homectl update joker --shell=/usr/bin/zsh ```