Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Ansible playbook for configuring access like another user

When you want User B to have the same groups, ssh access, and sssd permissions, use this playbook. It depends on a few files from the bgscripts package for now. Maybe someday I'll make some ansible modules for ssh_allowusers: allowed=yes name="{{ item }}" and sssd_allow_users. You'll need these:

https://gist.github.com/bgstack15/a5a1ac295a2579d54eefe97818ecc1e8

Comments