Admin Guide
Add a team user
Make sure to add the user to the teams group, which will restrict some permissions for the user, such as mounting disks and reboot or shutdown the system.
To add a team user, you can use the following command in the terminal:
useradd --create-home --comment $(hostname) --shell /bin/bash --groups teams --password "$(openssl passwd -6 contest)" teamor using the following tasks in your ansible playbook:
---
- name: Create team user
ansible.builtin.user:
name: team
comment: "{{ inventory_hostname }}"
shell: /bin/bash
groups: teams
password: "{{ 'contest' | password_hash('sha512') }}"
create_home: true