mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 11:02:13 +02:00
fixed the create user command
This commit is contained in:
@@ -30,7 +30,7 @@ sed -i 's/# %sudo/%sudo/g' /etc/sudoers
|
|||||||
groupadd sudo
|
groupadd sudo
|
||||||
|
|
||||||
# Add the unprivileged user
|
# Add the unprivileged user
|
||||||
useradd --create-home --shell --groups sudo --uid 1000 /bin/fish user
|
useradd --create-home --shell /bin/fish --groups sudo --uid 1000 user
|
||||||
|
|
||||||
# Setup the password for the unprivileged user
|
# Setup the password for the unprivileged user
|
||||||
passwd user
|
passwd user
|
||||||
|
|||||||
Reference in New Issue
Block a user