Readd useradd in arch linux
parent
98ba720b89
commit
216503969b
|
@ -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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue