Readd useradd in arch linux

main
sudo pacman -Syu 2021-12-19 23:19:20 +07:00
parent 98ba720b89
commit 216503969b
1 changed files with 9 additions and 1 deletions

View File

@ -239,6 +239,15 @@ pacman -Syu sudo
EDITOR=nvim visudo EDITOR=nvim visudo
# Uncomment group wheel # 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): [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 homectl create joker --real-name="The Joker" --member-of=wheel
# Using zsh # Using zsh
pacman -Syu zsh
homectl update joker --shell=/usr/bin/zsh homectl update joker --shell=/usr/bin/zsh
``` ```