mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
added an example for creating a new user
This commit is contained in:
@@ -14,9 +14,10 @@ pacman -S ansible git which sudo
|
|||||||
|
|
||||||
# (as root) Allow the "sudo" group to issue sudo commands
|
# (as root) Allow the "sudo" group to issue sudo commands
|
||||||
sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
|
sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
|
||||||
usermod -aG sudo $USER
|
|
||||||
|
|
||||||
# as user
|
# (as root) Create a new user
|
||||||
|
useradd --create-home 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