Questions tagged [adduser]

3 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
  • 569
0
votes
0 answers

how to call "adduser" without creating symlink?

In Debian 12 bookworm, the GNOME user setting always use "adduser" to create a new user, this cause problems in certain situations: sudo adduser repair [sudo] password for peng: Adding user `repair' ... Adding new group `repair' (1002) ... Adding…
tribbloid
  • 103