mirror of
https://github.com/aminnairi/dotfiles.git
synced 2026-09-14 15:42:14 +02:00
added an example for adding a password for the newly created user
This commit is contained in:
@@ -18,6 +18,9 @@ sed -i 's/#\s*%sudo/%sudo/g' /etc/sudoers
|
|||||||
# (as root) Create a new user
|
# (as root) Create a new user
|
||||||
useradd --create-home user
|
useradd --create-home user
|
||||||
|
|
||||||
|
# (as root) Add a password for the newly created user
|
||||||
|
passwd 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