added an example for adding a password for the newly created user

This commit is contained in:
aminnairi
2023-04-09 22:40:16 +02:00
parent b03b6e74e5
commit 3acd0ee8b8
+3
View File
@@ -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
``` ```