added an example for adding the user to a sudo group

This commit is contained in:
aminnairi
2023-04-09 22:40:30 +02:00
parent 3acd0ee8b8
commit fbe0864c98
+3
View File
@@ -21,6 +21,9 @@ useradd --create-home user
# (as root) Add a password for the newly created user
passwd user
# (as root) Add the "sudo" group for the created user
usermod -aG sudo user
ansible-pull --url https://github.com/aminnairi/laptop.git --ask-become-pass
```