New answers tagged

-1

You can try to add a new user by typing the command: useradd -G wheel -s /bin/bash -m "$username" -c "$fullusername" which is quite often sufficient for the need of a lambda user. Example: Malory ARCHER client wants to have a userspace on my machine. The command would be: useradd -G wheel -s /bin/bash -m "malory" -c "Malory ARCHER"


3

First: you need to indent password: in your playbook, because you want it to be a variable: vars: password: hashed_password If it's not indented then Ansible considers it a play parameter and throws an error because password is not. Second: unless you are setting the password for a user on OSX, you need to provide a hashed value of a password. Follow ...



Top 50 recent answers are included