mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 18:02:13 +02:00
added instructions for creating the sudo group
This commit is contained in:
@@ -23,6 +23,9 @@ useradd --create-home user
|
|||||||
# Add a password for the newly created user
|
# Add a password for the newly created user
|
||||||
passwd user
|
passwd user
|
||||||
|
|
||||||
|
# Add the sudo group
|
||||||
|
groupadd sudo
|
||||||
|
|
||||||
# Add the "sudo" group for the created user
|
# Add the "sudo" group for the created user
|
||||||
usermod --add --groups sudo user
|
usermod --add --groups sudo user
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user