mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 12:12:13 +02:00
added an example for adding the user to a sudo group
This commit is contained in:
@@ -21,6 +21,9 @@ useradd --create-home user
|
|||||||
# (as root) Add a password for the newly created user
|
# (as root) Add a password for the newly created user
|
||||||
passwd 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
|
ansible-pull --url https://github.com/aminnairi/laptop.git --ask-become-pass
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user