Questions tagged [adduser]

2 questions
2
votes
1 answer

Run a Bash Script on New User Creation by SSSD

Users created on AD can login to Linux with a password. I would like to replace this password login with ssh-key. So far, I've made a custom attribute and placed the public key in it and able to fetch it on Linux with a script. I would like to put…
2
votes
1 answer

Ansible adduser issue

Having some trouble with the user module in Ansible. Everything is technically working, just not as I expected. It seems Ansible uses "useradd" versus the newer "adduser" in Ubuntu and I think its missing some configuration settings when creating…
Atomiklan
  • 549
  • 1
  • 8
  • 16