mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-11-13 15:19:09 +01:00
fixed the create user command
This commit is contained in:
1 parent
853acee5b7
commit
d6a69067c5
1 file changed
+1
-1
@@ -30,7 +30,7 @@ sed -i 's/# %sudo/%sudo/g' /etc/sudoers
|
||||
groupadd sudo
|
||||
|
||||
# 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
|
||||
passwd user
|
||||
|
||||
Reference in new issue
Block a user